1836534 Members
4599 Online
110102 Solutions
New Discussion

"ssh" quistion

 
Ramesh.K.R.
Regular Advisor

"ssh" quistion

Hi,

Here is the scenario i am trying:
from m/c A as "rrot" user, i am trying to execute a script on m/c "B" as a normal user.
It is asking for password for every session. Is there a way to get over this password authentication for every session ??
The same thing works b/w "root" users on both m/cs.

Thanks in advance,
Regards,
Ramesh.K.R.
hai
3 REPLIES 3
Nicolas Dumeige
Esteemed Contributor

Re: "ssh" quistion

Hello,

ssh accept several method of authentification.
If you don't want to be asked for password, use an empty passphrase or create a .rhosts.

Cheers

Nicolas
All different, all Unix
Lee Hundley
Valued Contributor

Re: "ssh" quistion

Hi,

http://www.mindrot.org/~djm/auug2002/ssh-tutorial.pdf

See section 4.
It is my firm belief that it is a mistake to hold any firm beliefs
RAC_1
Honored Contributor

Re: "ssh" quistion

SSH authentication can be done in three ways.

1. Password based
2. Host based (user og .shosts and /etc/shosts.equiv files)
3. Exchange of public/private keys.

You can create key for root user and put public key in userb's (on hosts x)authorized_keys file.

Anil
There is no substitute to HARDWORK