LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2005, 10:25 AM   #1
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Rep: Reputation: 16
Question 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
________
 
Old 12-20-2005, 11:06 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 12-20-2005, 12:22 PM   #3
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
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.
 
Old 06-06-2006, 10:11 AM   #4
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
Thank you

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

THANKS FOR YOUR HELP!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
play sound on remote computer through ssh? quarry_06 Linux - Software 7 01-19-2010 07:10 AM
Playing sound on a remote computer over ssh Waldo Linux - Hardware 0 01-20-2005 07:28 AM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM
Opening remote files (during ssh session) with applications on local computer? The_Fed Linux - Newbie 3 05-10-2004 04:20 PM
Not able launch KDE_Fedora core on remote computer using ssh-X The_Fed Linux - Newbie 2 03-31-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration