Not able to ssh to localhost

view story

http://askubuntu.com – while setting up Hadoop in my Ubuntu 12.10 I am not able to ssh to localhost. hduser@tanmoy:~$ ssh -vvv localhost OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [] port 22. debug1: connect to address port 22: Connection refused ssh: connect to host localhost port 22: Connection refused Can anyone help me on this ? (HowTos)