Re: ssh without password for root
From: aryzhov (aryzhov@my-deja.com)
Date: 01/31/03
- Previous message: Kyler Laird: "Re: PermitRootLogin=yes versus su"
- In reply to: reddy: "ssh without password for root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: aryzhov@my-deja.com (aryzhov) Date: 31 Jan 2003 11:27:41 -0800
linuxreddy@rediffmail.com (reddy) wrote in message news:<39131f10.0301310137.701e2f32@posting.google.com>...
> i am using OpenSSH_3.4p1 on solaris 8 from sunfreeware ,
> i can log without password using ssh-agent and ssh-add
>
> reddy@workstation to reddy@server1
> reddy@workstation to reddy@server2
>
> i want to log from workstation to servers without password
> reddy@workstation to root@server1
> reddy@workstation to root@server2
>
> how can i do this using my userid/host(reddy/workstation)
> based authentication
>
> what is the best practise in this type of typical scenario
>
> my intention is to run commands as root on server1 server2
> without entering password from workstation
>
Not sure how it works with OpenSSH, but with FCom's ssh
I can specify to ssh-agent whose private key to use for all
future child process authentications.
If I, as a user, specify the root's private key file (which obviously
should be readable by that user), I am asked for root's private key
passphrase and can use "ssh -l root servername" afterwards, without
entering the passphrase.
I never use passwd-based authentication, but publickey-based only,
it is not only more secure, but IMHO more flexible, too.
- Next message: Maciej Babinski: "AltGr in PuTTY breaks ~ key"
- Previous message: Kyler Laird: "Re: PermitRootLogin=yes versus su"
- In reply to: reddy: "ssh without password for root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|