connect to host localhost port 22: Connection refused

前端 未结 28 2258
误落风尘
误落风尘 2021-01-29 19:01

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 configura         


        
28条回答
  •  执念已碎
    2021-01-29 19:43

    It might be caused by some of the following:

    1. SSH Server is not installed (only SSH Client), try: apt-get install ssh openssh-client openssh-server
    2. Connection is blocked by iptables (Firewall), try: ufw allow ssh

提交回复
热议问题