The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Not able to login user Dhruva Forum Support Area for Unregistered Users & Account Problems 1 02-27-2008 03:16 AM
Is there a Login Log? Dave Miller UNIX for Dummies Questions & Answers 2 02-04-2008 09:24 AM
Can not login unrecognised Forum Support Area for Unregistered Users & Account Problems 1 02-07-2006 12:34 PM
cannot login after changing login shell hardesh HP-UX 4 09-13-2005 09:21 PM
why i have local.profile, local.cshrc,local.login instead of .profile, .login ? abidmalik UNIX for Dummies Questions & Answers 5 08-26-2002 10:47 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2008
Registered User
 

Join Date: Aug 2008
Posts: 3
Question help with ssh login

hi,
to ssh login i give the command..
root@localhost~] # ssh ip_add
it allows me to login on a remote machine if i know the password, but i work on wireless network so the ip keeps on changing for the remote machine, how can i access that machine with some unique name , that does not changes.i have RHEL-5 on my machine

pls hel
Reply With Quote
Forum Sponsor
  #2  
Old 08-04-2008
Registered User
 

Join Date: May 2008
Posts: 77
you can assign the machine you are logging into a static IP address if you control the router or DHCP server.

Barring that, look into Dynamic DNS as a solution. There are various services that handle this for you, but not on internal IP addresses. You would have to look into some sort of personal dynamic DNS for that.

The simplest solution would be to hard set the IP address of your Linux host and then perhaps give it a short name on your client via the /etc/hosts file on a *NIX machine or:
C:\windows\system32\drivers\etc\hosts on a windows 2000/XP machine.
Reply With Quote
  #3  
Old 08-04-2008
Registered User
 

Join Date: Aug 2008
Posts: 3
/etc/hosts shows following.....
#do not remove following lines or various programs
#that require network functionality fail
127.0.0.1 localhost.localdomain localhost mawandia
::1 localhost6.localdomain6 localhost6



what changes must i bring to it.........and how to hard set the ip
(any ways thanks for replyin i m really new to linux)
Reply With Quote
  #4  
Old 08-04-2008
Registered User
 

Join Date: May 2008
Posts: 77
The /etc/hosts part is the LAST part, and not nearly important.

You have 2 machines.

You have your Linux host and your client (which can be anything for this).


The questions come up as:

Do you control the network that the machines are a part of?
Could you install services or change configurations on either of the machines?
How elegant do you want this to be?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0