Networking Forums

Networking Forums > Computer Networking > Linux Networking > .rhosts and /etc/hosts.equiv

Reply
Thread Tools Display Modes

.rhosts and /etc/hosts.equiv

 
 
aarklon@gmail.com
Guest
Posts: n/a

 
      08-12-2008, 09:42 AM
Hi,

can any one give an example for configuring .rhosts file so that
i can allow some trusted computers in my LAN to access my ubuntu 8.04
machine via telnet,ssh without having to enter password

BTW there is no /etc/hosts.equiv file in my machine, so will i have to
create it ...????
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      08-12-2008, 03:18 PM
On Tue, 12 Aug 2008 02:42:58 -0700 (PDT), (E-Mail Removed) wrote:
> Hi,
>
> can any one give an example for configuring .rhosts file so that


Easy enough, FQDN space user name per line or ip_addy user name.


$ cat ~/.rhosts
wb.home.invalid bittwister

Be sure to chmod 600 ~/.rhosts
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      08-12-2008, 04:01 PM
(E-Mail Removed) writes:

>Hi,


>can any one give an example for configuring .rhosts file so that
>i can allow some trusted computers in my LAN to access my ubuntu 8.04
>machine via telnet,ssh without having to enter password


It is a bad idea to use telnet. Too many systems have had passwords stolen.
That the remote computers (or local computers) are trusted is irrelevant.
You also have to trust every inch of lan as well.
On ssh, use the authorized-key mechanism. Place the contents of
..ssh/id_rsa/pub into the other computer's .ssh/authorized_keys file to
allow you to log onto their system without a password. That replaces teh
notion of .rhosts or /etc/hosts.equiv


>BTW there is no /etc/hosts.equiv file in my machine, so will i have to
>create it ...????


Yes, you would have to create it if instead of listening to everyone you
decided to go that route.

 
Reply With Quote
 
Artur Kaminski
Guest
Posts: n/a

 
      08-14-2008, 07:54 AM
On Aug 12, 10:42*am, aark...@gmail.com wrote:
> Hi,
>
> can any one give an example for configuring .rhosts file so that
> i can allow some trusted computers in my LAN to access my ubuntu 8.04
> machine via telnet,ssh without having to enter password
>
> BTW there is no /etc/hosts.equiv file in my machine, so will i have to
> create it ...????


Many wrote about telnet.

If you want to log in using SSH, look at
http://www.google.co.uk/search?q=ssh+without+login



Regards
Artur
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN with no hosts :( will 18 Linux Networking 12 10-18-2006 11:39 PM
hosts.deny and hosts.allow problem dan Linux Networking 3 06-15-2005 07:26 PM
/etc/hosts used only sometimes graeme.pietersz@gmail.com Linux Networking 2 03-09-2005 06:28 AM
hosts JW Linux Networking 1 12-20-2003 02:22 PM
rsh + rlogin without password (.rhosts) -> NOT WORKING Pedro Salazar Linux Networking 2 07-10-2003 05:56 PM



1 2 3 4 5 6 7 8 9 10 11