I am having an issue with SSH.
ssh: connect to host 192.168.1.7 port 22: Connection refused
I get the above error whenever I try to connect my desktop with another desktop using SSH, but I'm able to ping the other desktop successfully.
ssh: connect to host 192.168.1.7 port 22: Connection refused
When I attempt to restart sshd, it outputs the following error
sshd: unrecognized service
I can connect to remote server using SSH, but I'm not able to connect within the local network. How can I solve this issue?
sudo service ssh start
. If that doesn't work, could you post the output ofls -l /etc/init/ssh.conf
?