Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] ssh without password for non root user in RedHat Enterprise Linux 3

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Kevin Ball kball at pathscale.com
Fri Jan 20 11:42:47 PST 2006


I've been bitten by this a little bit before too.  Some additional
things to try besides what rgb said:

add your public key to the file .ssh/authorized_keys
e.g.
> cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

make sure that both authorized_keys and your private key are not
readable by others besides you.
e.g.
> chmod 600 ~/.ssh/id_rsa.pub
> chmod 600 ~/.ssh/authorized_keys


-Kevin

On Fri, 2006-01-20 at 10:47, Robert G. Brown wrote:
> On Fri, 20 Jan 2006, Hima Bindu wrote:
> 
> > Hi,
> > I followed all the instructions for ssh without password but could not
> > succeed for non root user accounts in RHEL3. Following the same steps I
> > could do for root.
> >
> > Any help greatly appreciated,
> 
> There are several mini-howtos out there.  It is pretty simple.  Use
> ssh-keygen to make a key pair.  Put the private key where it belongs.
> Put the public key where it belongs.  It should then just work, UNLESS
> the system's sysadmin has disabled it
> 
> To help debug, remember ssh's debug feature.  ssh -v -v -v will give you
> a LOT of information about why it fails, and just where it fails...
> 
>     rgb
> 
> > hima.
> >




More information about the Beowulf mailing list