SSH as root with different principal

Steve Langasek vorlon at dodds.net
Wed Jul 30 11:36:19 EDT 2003


On Wed, Jul 30, 2003 at 04:00:28PM +0200, Lukas Kubin wrote:

> How can I login through SSH to administer a remote server? I mean, I have
> a principal, say "user" and need to authenticate using kerberized SSH to
> become root on the remote server.
> Thank you.

If using gssapi or krb5 authentication, you would add that principal to
root's .k5login file; acquire a TGT for that user; and run
'ssh root at server' or 'ssh -l root server'.  This will grant you
Kerberos-based access to the root account.

-- 
Steve Langasek
postmodern programmer


More information about the Kerberos mailing list