Access Keys:
Skip to content (Access Key - 0)
 
More about this article
Created: 08/10/2009 12:51
Modified: 08/10/2009 12:51

Most ssh client configurations (such as those on MacOS X and Ubuntu) do not delegate (forward) Kerberos tickets by default, to avoid inadvertently exposing your Kerberos tickets to a malicious machine. Normally, you must use ssh -K to delegate your tickets on a per-connection basis.

If you wish to delegate your tickets by default, you can add a line like the following to your ~/.ssh/config file:

Host linerva.mit.edu
    GSSAPIDelegateCredentials yes

That will cause ssh to delegate your credentials when connecting to linerva.mit.edu (but not when connecting to other machines). You can specify multiple hosts like so:

Host linerva.mit.edu athena.dialup.mit.edu some-other-machine.mit.edu 
    GSSAPIDelegateCredentials yes

You can even specify wildcards, though we do not recommend you do this:

Host *.mit.edu 
    GSSAPIDelegateCredentials yes
Your Rating: Results: PatheticBadOKGoodOutstanding! 3 rates

Adaptavist Theme Builder Powered by Atlassian Confluence