While installing hadoop in my local machine , i got following error
ssh -vvv localhost
OpenSSH_5.5p1, OpenSSL 1.0.0e-fips 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
can some one help me to resolve this error , than changing port number
A way to do is to go to terminal
and again restart your ssh service using:
Problem will be resolve. Thanks
Try installing whole SSH package pack:
I had
ssh
command on my Ubuntu but got the error as you have. After full installation all was resolved.For my case(ubuntu 14.04, fresh installed), I just run the following command and it works!
sudo apt-get install ssh
if you are using centOS or Red Hat, you should first update SElinux. Execute the following statement
then you need to execute
good luck
Actually i solved this, I just installed shh daemon.
in terminal :
Remove SSH with the following command:
Install SSH again with:
It will solve your problem.