Originally posted by mfrangos79
Thx for your answer...however... :
How do i point port 22? and what is that for ..does it have to be port 22?
(just a new in Linux -debian)
No, port 22 is just the usual port for ssh connections. Otherwise you have to configure your ssh-daemon to wait for incoming connections on other ports.
If you own a hardware router there are usually settings like "virtual server" or something like this, may be named other. To get your network secure a router in most cases rejects incoming connections on ports, unless you tell it to forward packages on these ports to a special computer in your network. That means you would have to forward port 22 on your router (if you have one
) to your computer with the sshd daemon or for example port 80 if you would like your home computer to act as a web server (with apache configured to use the standard port 80). Otherwise most routers would simply drop these packages, you could not connect from outside to your home computer.