question

From: Dale Bohl (dbohl_at_sgi.com)
Date: 02/23/05

  • Next message: Neil W Rickert: "Re: question"
    Date: Wed, 23 Feb 2005 16:47:38 -0600
    
    

    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.


  • Next message: Neil W Rickert: "Re: question"

    Relevant Pages

    • Re: Piping and scripts with scp
      ... > The problem with un-passphrased RSA keys is that they provide ... > no more security but create logistical problems. ... > generating an un-passphrased key pair for root ... a login as the *logging user* on the logging machine. ...
      (FreeBSD-Security)
    • Re: Piping and scripts with scp
      ... >> The problem with un-passphrased RSA keys is that they provide ... >> generating an un-passphrased key pair for root ... > a login as the *logging user* on the logging machine. ...
      (FreeBSD-Security)
    • Re: Disabling password authentication for ssh on Tiger
      ... > Let root log in without a password. ... logins over ssh anyway. ... > I created the script after seeing ssh login attempts. ... >> and modified SSH to use RSA keys. ...
      (comp.sys.mac.system)