From 8f9e0357dd65d04a1fad968e77115a0edfe1b024 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 11 Feb 2008 14:28:48 +0000 Subject: [PATCH] Additional SunSSH 1.1 ssh server options --- tests/sshserver.pl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index e43875cf2..97ed079b5 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -342,6 +342,10 @@ if((! -e $hstprvkeyf) || (! -e $hstpubkeyf) || # GatewayPorts : OpenSSH 2.1.0 and later # GSSAPIAuthentication : OpenSSH 3.7.0 and later [1] # GSSAPICleanupCredentials : OpenSSH 3.8.0 and later [1] +# GSSAPIKeyExchange : SunSSH 1.0.0 and later [1] +# GSSAPIStoreDelegatedCredentials : SunSSH 1.0.0 and later [1] +# GSSCleanupCreds : SunSSH 1.0.0 and later [1] +# GSSUseSessionCredCache : SunSSH 1.0.0 and later [1] # HostbasedAuthentication : OpenSSH 2.9.0 and later # HostbasedUsesNameFromPacketOnly : OpenSSH 2.9.0 and later # HostKey : OpenSSH 1.2.1 and later @@ -540,6 +544,18 @@ if(sshd_supports_opt('GSSAPIAuthentication','no')) { if(sshd_supports_opt('GSSAPICleanupCredentials','yes')) { push @cfgarr, 'GSSAPICleanupCredentials yes'; } +if(sshd_supports_opt('GSSAPIKeyExchange','no')) { + push @cfgarr, 'GSSAPIKeyExchange no'; +} +if(sshd_supports_opt('GSSAPIStoreDelegatedCredentials','no')) { + push @cfgarr, 'GSSAPIStoreDelegatedCredentials no'; +} +if(sshd_supports_opt('GSSCleanupCreds','yes')) { + push @cfgarr, 'GSSCleanupCreds yes'; +} +if(sshd_supports_opt('GSSUseSessionCredCache','no')) { + push @cfgarr, 'GSSUseSessionCredCache no'; +} push @cfgarr, '#';