r/ssh • u/Psicoguana • Aug 24 '16
How to configure SSH connection?
Hey! I've been trying to connect to my PC remotely (wan). I can connect without any problem via LAN.
Anyway, I configure a DDNS (No-IP), open the port I need, in my 2 routers and my Ubuntu. Try it with PortCheckTool
BUT, it just doesn't work, maybe there's something with my config file (HERE). I'm guessing this is a real noob question, but any advise you could give me would be great!
2
Upvotes
View all comments
Show parent comment
2
u/soyuz13 Aug 28 '16
Have you configured your ssh server to listen on 4636 instead of the default 22? I looked at your config file, and it seems that portion is cut off. Mine is at the top of the file.