ssh on the first use, NetworkError:Connection refused
Okay let’s solve the problem.
after installing openssh-server by typing apt-get install openssh-server on linux terminal, you should generate key for authentication for ssh remote login.
root@revolutionaryroad:~#apt-get install openssh-server
Because, if you don’t do that, you can’t connect to your remote server using ssh connection. trust me! ![]()
it will show pop up windows which can be read as Network Error: Connection refused
all you have to do just like these steps bellow :
root@revolutionaryroad:~#sshd-generate
the command will generate rsa and dsa certificate key which used as an authentication to connect to remote server via ssh.
Then, you have to start your ssh service by typing command /etc/init.d/ssh start on linux terminal
root@revolutionaryroad:~#/etc/init.d/ssh start
If you want to activate ssh service everytime you login into your server, all you have to do is type command bellow
root@revolutionaryroad:~#update-rc.d -f ssh defaults
done..