I'm quite new to ssh, trying to use it to get a remote command line on my home PC from school.
As an Arch user, I followed the Arch Wiki's instructions on setting up ssh by enabling sshd.service. I changed the port to 8160 as it was recommended that I change it from 22 to use it across a WAN (i.e. the Internet), and I verified that this was not a port that was in known popular use on Wikipedia.
Yet, when I go to another PC in my house and search for 'what's my IP' on Google, use that and the port 8160 in Putty on Windows to connect, it says it times out. Why is this?
ip addr
on the machine running sshd (it's probably192.168.x.y
). This will only work from your own network (inside your house, basically), but it will make sure you've got sshd set up correctly. – Tom Hunt Mar 14 '17 at 17:40ssh -p 8160 localhost
– cherdt Mar 14 '17 at 20:15