Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: How to configure .rhosts or .shosts so as not to ask password

From: Max Gregis <mgregis(at)sorint.it>
Date: Fri Mar 28 2003 - 10:15:14 EST

Hi,

maybe i've found the way.

First of all, you have to create the keyfile you'll use in the SSH connection.

as specific user:
ssh-keygen -t dsa $HOME/.ssh/id_dsa
ssh-keygen -t rsa $HOME/.ssh/id_rsa

the,
on the other host ( i assumed you already have configured you SSHD_CONFIG file), try to execute:

ssh $HOST -i /$HOME_USER/.ssh/id_dsa -l $USER ssh $HOST -i /$HOME_USER/.ssh/id_rsa -l $USER

it's work fine on my solaris hosts

Do you need help?X

Max

Friday, March 28, 2003, 11:37:37 AM, you wrote:

SSCC> I have SSH-3.4 in my Linux 7.3. I dont want any user to be prompted for
SSCC> password when he does "ssh linux_machine". I tried configuring my home's
SSCC> directory's .rhosts and .shosts file. Seems not working as expected. Still
SSCC> asks for password. Is it possible or not ? 
SSCC> Please let me know. Just breaking my head for this. 

SSCC> Thanks
SSCC> Sriram S


  

 Massimiliano Gregis
 Sun Microsystems Senior Consultant

 Phone.: 035.697534
 Mobile: 347.1167790
 Fax...: 035.697590
 E.mail: - mgregis@sorint.it    

- massimiliano@sorint.it
- massimiliano.gregis@sorint.it

 Sorint http://www.sorint.it


Received on Fri Mar 28 11:34:31 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:56 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library