remote login

Rick Stevens rstevens at vitalstream.com
Thu Feb 17 19:49:47 UTC 2005


arms780 at bellsouth.net wrote:
> I should have clarified this earlier.  I am using Bellsouth DSL, with a Westell Wirespeed modem, an eth cable between the "router" and my eth card on my PC.  Using IE in Windows, I was able to log into the router and set it up for IP passthrough.  Now, I have been able to log into WinXP remotely fine, but I would rather play with Linux.  
> 
> As I've said, I have SSH services turned on in my System Settings, but I'm not sure if there is something else I need to set up in Linux.
> 
> I just checked the version of PuTty that I use at work, and it does default to telnet and not SSH (didn't think to check that earlier).  I can't try it now because Bellsouth dynamically assigns  public IP's, so I don't know what the new IP is for my box.  I've been using ipchicken.com to get my public IP, but is there a way to check that from the terminal?  I know in WinXP you can use ipconfig at DOS, but I don't know what the Linux equivalant to that is.

Try this command:

     ifconfig eth0 | grep "inet addr:" | awk 'BEGIN{FS=":| *"}{print $4}'

Or you can use the tools on my website:

     http://www.rhil.net/fancywhatip.php
     http://www.rhil.net/whatip.php

which will show you the IP address you're on as seen by the Internet.
That's useful if you're behind a router or NAT system.  You can script 
that by using lynx:

     lynx --dump http://www.rhil.net/whatip.php | \
	awk 'BEGIN{FS=" *"}{print $2}'

By the way, this list prefers bottom posting with your mail client set
to post messages that are plain text and 72-characters per line.

And now you know entirely too much!  Heheheheheh!
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   "Do you suffer from long-term memory loss?"  "I don't remember"  -
-                            -- Chumbawumba, "Amnesia" (TubThumping) -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list