I want to connect to a computer which is always on at home from anywhere.
Suppose my router has the static public IP of
22.214.171.124 and a netmask of
As far as I'm concerned, every computer connected to it will have the same public IP address. But I want to connect to a specific device connected to it, suppose it has the private IP of
192.168.0.10 and the private IP of the access point is
A SSH server is already installed and the port 22 is opened on the computer. The router is also configured to be able to receive connections from the outside world.
Should I just do
ssh -p 22 firstname.lastname@example.org
Doesn't this method send a ssh connection request to all connected computers to the router? What if two computers share an username? Can't I just connect to one specific device?
Sorry if this a stupid question, I'm starting to learn about computer networking.