Remote connection IP to use

Posted by petwho on Super User See other posts from Super User or by petwho
Published on 2012-11-25T04:53:17Z Indexed on 2012/11/25 5:06 UTC
Read the original article Hit count: 475

Filed under:
|
|

I have two laptops that both run on ubuntu and installed ssh server and ssh client on them. One is usually on my desk at home and one I usually bring to my company. When I'm at home I can easily ssh to one from the other by typing this command (to login to the other laptop whose IP address is: 192.168.0.105) :

ssh -p 22 [email protected] 

However, When I'm at my company, I try to type the same command and ofcourse it doesn't work. I understand that when at home I'm on LAN network, that my laptops actually using my ISP's address which differ from 192.168.0.107 asummed 203.113.131.1. So could you tell me what IP that ssh shoud use for my laptop (at work) to connet to my computer at home?

Thank you.

© Super User or respective owner

Related posts about networking

Related posts about ssh