Linux Lite Forums
Can't remotely login sshd or openssh - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: Can't remotely login sshd or openssh (/showthread.php?tid=2438)



Can't remotely login sshd or openssh - gcclinux - 11-29-2015

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


Re: Can't remotely login sshd or openssh - Valtam - 11-29-2015

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.


Re: Can't remotely login sshd or openssh - gcclinux - 11-29-2015

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 :-)


Re: Can't remotely login sshd or openssh - Valtam - 11-30-2015

Awesome Smile Linux powa!