Linux Lite Forums

Full Version: Can't remotely login sshd or openssh
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have installed openssh and my sshd server and although I can login locally via localhost or the actually IP address I can not login remotely and I looked for firewall setting but I can not find it.

Can someone please advise

Many Thanks
You'll have to open port 22 on your router and set the ip to the host pc that has the ssh server on it. Then try.
Hi Jerry,

Thank you for your input but that was not it as I was able to go from host one to host 2 but not in reverse, anyway turns out that so I trailed the syslog file and noticed that UFW was BLOCKING the connection.

After that is was easy, just added the required ssh port to the rule and all was resolved.


$ sudo ufw allow 22
Rule added
Rule added (v6)

ssh now works as a dream :-)
Awesome Smile Linux powa!