LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh in simple words (https://www.linuxquestions.org/questions/linux-networking-3/ssh-in-simple-words-532461/)

clhona 02-26-2007 02:28 AM

ssh in simple words
 
Hi everybody, I've two pc in my office on a local network and I can log from one to the other via ssh with the sipmle command "ssh -X ip_other_machine".
Now, how can I log into the same machine from a pc outside this local network (for example from home)? Can someone tell me in simple words wich informations I need on the host and the remote machine and possibly the command to find out those informations?
thax
ciao
clo

billymayday 02-26-2007 02:36 AM

You should be able to do the same, but will need a public IP and the firewall open on port 22

clhona 02-26-2007 02:49 AM

thanx for replay...can you tell me a test to see if port 22 is open ?I've no firewall installed

nachosmith 02-26-2007 02:53 AM

Telnet to port 22:

Code:

telnet machinename 22

and you should see something like the following popping up at you

Code:

SSH-2.0-OpenSSH_4.3


All times are GMT -5. The time now is 02:16 AM.