Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Please help,

    Is it possible to run ssh as root but use another users
login? For example:

root# ssh user@hostname

I'm running OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 on RH Fedora Core3
to OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x009060af
on IRIX.

I've created the rsa keys as the user on the system I'm sshing
from and moved the key to the remote system in the user's account
.ssh/authorized_keys file but I still get propmpted for a password.

    The reason I ask is I'm trying to do an rsync pull as root
but use a differnt user so that the directory heiarchy is
created on the local system as root.

Re: question

Quoted text here. Click to load it

Works fine for me, where I have setup public key auth for that user.

Quoted text here. Click to load it

I use it for rsync and scp.

Site Timeline