[Ubuntu Oregon] Ubuntu Hour

Nathan Williams nathan at nathanewilliams.com
Fri Dec 14 07:05:25 UTC 2012


Your firewall is open for port 22, but the server is running on 2222

Ronald Chmara <ronabop at gmail.com> wrote:

>So, did debug verbosity (-vvv) or specifying a port (-p 2222) help any to
>understand the problem?
>
>
>On Thu, Dec 13, 2012 at 7:13 PM, Robin Haberman <robin.haberman at gmail.com>wrote:
>
>> It's in the text I am following for an Hadoop platform.
>>
>> On Thu, Dec 13, 2012 at 6:53 PM, Ronald Chmara <ronabop at gmail.com> wrote:
>> > Try ssh - vvv? That should give a bunch more data...
>> >
>> > On Dec 13, 2012 6:42 PM, "Robin Haberman" <robin.haberman at gmail.com>
>> wrote:
>> >>
>> >>    I need some feedback from the group.   By the way I have gone to
>> >> the Ubuntu and Internet forums and found answers all over the place
>> >> about this problem.
>> >>
>> >>    One of the sub-projects I am working on is to set up a Hadoop
>> >> testbed  (single-node cluster) on Ubuntu 11.10 (just a stripped down
>> >> 32 bit P5 loaded with hard drives).  I am working from a paper by
>> >> Michael G. Noll, dated August 5, 2007 (last updated: June 29, 2012) .
>> >> The part where I am having problems is to get the SSH set up by
>> >> connecting to the local machine with the hduser user.  I keep getting
>> >> the following message:
>> >>
>> >> no4 at no4-PCV-RX550-UC:~$ ssh localhost
>> >> ssh: connect to host localhost port 22: Connection refused
>> >> no4 at no4-PCV-RX550-UC:~$
>> >>
>> >>    I have run through a number of steps to make sure I have both the
>> >> ssh server and client loaded, reloaded – working and running.  But I
>> >> still run into the same error message.  What am I missing?
>> >>
>> >> Any help would be appreciated.
>> >> Thanks, Robin
>> >>
>> >> CLI output listed below
>> >>
>> >>
>> >> no4 at no4-PCV-RX550-UC:~$ sudo service ssh status
>> >> ssh start/running, process 24048
>> >>
>> >>
>> >> no4 at no4-PCV-RX550-UC:~$ dpkg -l | grep ssh
>> >> ii  openssh-client                         1:5.8p1-7ubuntu1
>> >>                  secure shell (SSH) client, for secure access to
>> >> remote machines
>> >> ii  openssh-server                         1:5.8p1-7ubuntu1
>> >>                  secure shell (SSH) server, for secure access from
>> >> remote machines
>> >> ii  ssh                                    1:5.8p1-7ubuntu1
>> >>                  secure shell client and server (metapackage)
>> >> ii  ssh-askpass-gnome                      1:5.8p1-7ubuntu1
>> >>                  interactive X program to prompt users for a
>> >> passphrase for ssh-add
>> >> ii  ssh-import-id                          2.5-0ubuntu2
>> >>                  securely retrieve an SSH public key and install it
>> >> locally
>> >>
>> >>
>> >> no4 at no4-PCV-RX550-UC:~$ sudo iptables -L | grep ssh
>> >> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh
>> >> ACCEPT     udp  --  anywhere             anywhere            udp dpt:ssh
>> >> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh
>> >> ACCEPT     udp  --  anywhere             anywhere            udp dpt:ssh
>> >>
>> >>
>> >> no4 at no4-PCV-RX550-UC:~$ sudo netstat -anp | grep sshd
>> >> tcp        0      0 0.0.0.0:2222            0.0.0.0:*
>> >> LISTEN      24048/sshd
>> >> tcp6       0      0 :::2222                 :::*
>> >> LISTEN      24048/sshd
>> >>
>> >> --
>> >> Ubuntu-us-or mailing list
>> >> Ubuntu-us-or at lists.ubuntu.com
>> >> Modify settings or unsubscribe at:
>> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-or
>> >
>> >
>> > --
>> > Ubuntu-us-or mailing list
>> > Ubuntu-us-or at lists.ubuntu.com
>> > Modify settings or unsubscribe at:
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-or
>> >
>>
>> --
>> Ubuntu-us-or mailing list
>> Ubuntu-us-or at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-or
>>
>
>-- 
>Ubuntu-us-or mailing list
>Ubuntu-us-or at lists.ubuntu.com
>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-or


More information about the Ubuntu-us-or mailing list