LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh onto remote computer (issues) (http://www.linuxquestions.org/questions/linux-networking-3/ssh-onto-remote-computer-issues-394896/)

tuxhats 12-20-2005 10:25 AM

ssh onto remote computer (issues)
 
Hello to all,:)

I am trying to ssh onto my dad's remote computer(Suse).

Situation: We both have sshd working fine it appears.

Environment: I have an I.S.P. assigned(dhcp) IP (visible to the world) of 209.198.*.* with a local IP of 192.168.10.*
My dad has an I.S.P. assigned(dhcp) IP (visible to the world) of 68.152.*.* with a local IP of 192.168.1.*

Questions: Is it posible to ssh to each other?
If so, what is the syntax for this?
Does my dad need a static IP for me to ssh in to "fix things" for him?

Thanks for your read and time!

Regards,
Tuxhats
________
:scratch:

Nylex 12-20-2005 11:06 AM

You can just do

$ ssh user@host

where user is a username that exists on the system you're connecting to and host is the IP address of that machine. If they're not on the same local network (which seems to be the case, due to the different Internet IPs), then use the ISP assigned IP address. If the machines are connected to routers, then port forwarding will need to be set up on those routers.

WindowBreaker 12-20-2005 12:22 PM

Since your ISP assigned ip's will change frequenly, i'd sign up for no-ip on a free account. you pick a name like mycomputer.no-ip.org , and you can ssh into your computer using the name you picked. Every time your computer boots up, you run a program called noip2 , which updates the dns name record of mycomputer.no-ip.org with the latest ip your isp assigned to you. You can read more on their site,but it's very handy for a situation like yours. And of course, you can pick the name you like, provided it's not being used.

tuxhats 06-06-2006 10:11 AM

Thank you
 
I finally have the ability to post a long awaited thanks for your help Nylex and WindowBreaker.

THANKS FOR YOUR HELP!!


All times are GMT -5. The time now is 04:02 PM.