LinuxQuestions.org
Visit Jeremy's Blog.
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-09-2008, 04:48 AM   #1
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Rep: Reputation: 30
Remote Login


In book TAKEDOWN by Tsutomu Shimomura, author talks about connecting to his computers from outside using the dial-up modem connected to his home computer while his computer is running a T1 connection ( or broadband ?). He puts a dial-up modem between his computer and the internet and then talks securely to it. I want to do the same.

My configuration is like this:

Quote:
My Computer -> ADSL Modem -> Internet -> me outside somewhere
and I want to login into it using some dial-up modem:

Quote:
My Computer -> External Dial-up Modem -> ADSL Modem -> Internet -> me somewhere
I know how to SSH into my system but because of dynamic IP provided by my ISP, it keeps on changing. I only want to do this because the author said, its a secure method to remotely login into your computer and do what you want. and 2nd, I will not have to search for what is my IP every time

Does anyone has any idea about this ?
 
Old 12-09-2008, 05:02 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
A better method would be to get a dynamic DNS address. My ADSL modem has a facility to automatically update the dynamic DNS address with the IP address from my ISP when it connects.
 
Old 12-09-2008, 06:09 AM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by allend View Post
A better method would be to get a dynamic DNS address. My ADSL modem has a facility to automatically update the dynamic DNS address with the IP address from my ISP when it connects.
Agree...been using this for years....never a problem..
 
Old 12-09-2008, 02:31 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by arnuld View Post
In book TAKEDOWN by Tsutomu Shimomura, ...<SNIP>... Does anyone has any idea about this ?
Please remember this book was written in 1996, about events that occurred prior to 1996. Things have changed quite significantly since 1996, let alone since when the actual events occurred...

Like the other posters here I would suggest that you use a dynamic dns service, your router supports it in all likely hood and if not then you can get a dynamic dns client for your Linux machine.

If you are dead set on the idea of being able to access your computer via dial-up (it's a nice idea for when your internet connection is down and you want to troubleshoot it remotely) then I would suggest hooking a modem up to the machine and setting it up to accept connections from outside automatically via mgetty/pppd.

Hope the information helps.
 
Old 12-10-2008, 05:39 AM   #5
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rweaver View Post
Please remember this book was written in 1996, about events that occurred prior to 1996. Things have changed quite significantly since 1996, let alone since when the actual events occurred...
h.. no, that thought never came to my mind .

Quote:
Originally Posted by rweaver View Post
Like the other posters here I would suggest that you use a dynamic dns service, your router supports it in all likely hood and if not then you can get a dynamic dns client for your Linux machine.
The ISP I am planning to take on distributes static IPs only. You mean I can install some software on Linux that will make it behave like a Dynamic IP (changing IPs on every modem boot) ?

Quote:
Originally Posted by rweaver View Post
If you are dead set on the idea of being able to access your computer via dial-up (it's a nice idea for when your internet connection is down and you want to troubleshoot it remotely) then I would suggest hooking a modem up to the machine and setting it up to accept connections from outside automatically via mgetty/pppd.
If thats old & no gold, then drop it . I feel much better with ADSL though. Me and my friends have played this SSH game a lot. The only thing that I was always unable to do was, I was logging into my machine (SSH server) from Windows (PuTTY SSH client) but I did not know how to copy files from my home machine to Windows or vice-versa

Last edited by arnuld; 12-10-2008 at 05:41 AM. Reason: editing
 
Old 12-10-2008, 08:46 AM   #6
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by arnuld View Post
The ISP I am planning to take on distributes static IPs only. You mean I can install some software on Linux that will make it behave like a Dynamic IP (changing IPs on every modem boot)?
If you have a static address you have a static address. If you have a dynamic address you have a dynamic address. What a dynamic dns client does is automatically updates a known dns entry (for example, yourname.dyndns.org) every time you are issued a different dynamic address, so you are always able to access the machine using the known dns entry even if the ip address changes.

An example:

Your computer receives an address from dhcp of 1.2.3.4 dyndns sets arnuld.dyndns.org to 1.2.3.4.

You can ssh to arnuld.dyndns.org and connect.

Two hours later your computer receives a new address of 1.2.7.1 from the router and the dyndns sets arnuld.dyndns.org to 1.2.7.1

You can still ssh to arnuld.dyndns.org and connect because everytime address changes the dyndns client updates the dns entry for you.

Hope that explains everything.
 
Old 12-10-2008, 09:19 AM   #7
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by rweaver View Post
If you have a static address you have a static address. If you have a dynamic address you have a dynamic address. What a dynamic dns client does is automatically updates a known dns entry (for example, yourname.dyndns.org) every time you are issued a different dynamic address, so you are always able to access the machine using the known dns entry even if the ip address changes.

An example:

Your computer receives an address from dhcp of 1.2.3.4 dyndns sets arnuld.dyndns.org to 1.2.3.4.

You can ssh to arnuld.dyndns.org and connect.

Two hours later your computer receives a new address of 1.2.7.1 from the router and the dyndns sets arnuld.dyndns.org to 1.2.7.1

You can still ssh to arnuld.dyndns.org and connect because everytime address changes the dyndns client updates the dns entry for you.

Hope that explains everything.
that's how it works for me........
for file transfer there are many progs that use ssh and almost look like wfpt or sftp
 
  


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
how to make remote login and remote installation via libssh vdx Programming 5 09-10-2007 10:23 PM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 03:01 AM
remote login screen but need local login lastkey Ubuntu 0 12-13-2006 01:41 AM
remote x login instead of local login mandrake-n00b Mandriva 0 04-22-2005 09:19 PM
remote login FNC Linux - General 2 03-05-2002 02:29 AM

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

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

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