From 73b7a7561a6053fc189b152c7f12a6d36e8d9446 Mon Sep 17 00:00:00 2001 From: kuben Date: Wed, 18 Dec 2019 17:31:43 +0100 Subject: [PATCH] ssh/config: Add home and more hosts. IgnoreUnknown for gssapi disabled --- .ssh/config | 58 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 17 deletions(-) diff --git a/.ssh/config b/.ssh/config index c3d9700..b060662 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,21 +1,45 @@ -# Hosts we want to authenticate to with Kerberos -Host *.kth.se *.kth.se. -# User authentication based on GSSAPI is allowed -GSSAPIAuthentication yes -# Key exchange based on GSSAPI may be used for server authentication -GSSAPIKeyExchange yes -# Hosts to which we want to delegate credentials. Try to limit this to -# hosts you trust, and were you really have use for forwarded tickets. -Host *.csc.kth.se *.csc.kth.se. *.nada.kth.se *.nada.kth.se. *.pdc.kth.se *.pdc.kth.se. -# Forward (delegate) credentials (tickets) to the server. -GSSAPIDelegateCredentials yes -# Prefer GSSAPI key exchange -PreferredAuthentications gssapi-keyex,gssapi-with-mic +# If ssh does not have gssapi enabled: +IgnoreUnknown GSSAPIKeyExchange + +Host home + HostName isabeljake.olf.sgsnet.se + User kuba + Port 9216 + ForwardX11Trusted yes + +Host dali + HostName geym.fy.chalmers.se + User jakub + Port 22209 + ForwardX11Trusted yes + +Host kubaServer + HostName 192.168.0.102 + User pi + Port 22 + ForwardX11Trusted yes + +Host remote11 + HostName remote11.chalmers.se + User fojt + Port 22 + ForwardX11Trusted yes + ControlMaster auto + ControlPersist yes + ControlPath ~/.ssh/socket-%r@%h:%p Host beskow - Hostname beskow.pdc.kth.se - User fojt + Hostname beskow.pdc.kth.se + User fojt + GSSAPIAuthentication yes + GSSAPIKeyExchange yes + GSSAPIDelegateCredentials yes + PreferredAuthentications gssapi-keyex,gssapi-with-mic Host tegner - Hostname tegner.pdc.kth.se - User fojt + Hostname tegner.pdc.kth.se + User fojt + GSSAPIAuthentication yes + GSSAPIKeyExchange yes + GSSAPIDelegateCredentials yes + PreferredAuthentications gssapi-keyex,gssapi-with-mic