[Ubuntu Oregon] Ubuntu Hour

Robin Haberman robin.haberman at gmail.com
Fri Dec 14 02:42:03 UTC 2012


   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



More information about the Ubuntu-us-or mailing list