mirror of
https://github.com/curl/curl.git
synced 2026-08-01 07:38:02 +03:00
SunSSH 1.1 ssh client does not support config file options:
ConnectTimeout ForwardX11Trusted HashKnownHosts RekeyLimit ServerAliveCountMax ServerAliveInterval
This commit is contained in:
parent
7a2177dc42
commit
c479c64333
1 changed files with 5 additions and 5 deletions
|
|
@ -740,7 +740,7 @@ if(($sshid =~ /OpenSSH/) && ($sshvernum >= 370)) {
|
|||
}
|
||||
|
||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 370)) ||
|
||||
($sshid =~ /SunSSH/)) {
|
||||
(($sshid =~ /SunSSH/) && ($sshvernum >= 120))) {
|
||||
push @cfgarr, 'ConnectTimeout 30';
|
||||
}
|
||||
|
||||
|
|
@ -758,12 +758,12 @@ if(($sshid =~ /OpenSSH/) && ($sshvernum >= 440)) {
|
|||
}
|
||||
|
||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 380)) ||
|
||||
($sshid =~ /SunSSH/)) {
|
||||
(($sshid =~ /SunSSH/) && ($sshvernum >= 120))) {
|
||||
push @cfgarr, 'ForwardX11Trusted no';
|
||||
}
|
||||
|
||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 400)) ||
|
||||
($sshid =~ /SunSSH/)) {
|
||||
(($sshid =~ /SunSSH/) && ($sshvernum >= 120))) {
|
||||
push @cfgarr, 'HashKnownHosts no';
|
||||
}
|
||||
|
||||
|
|
@ -786,7 +786,7 @@ if(($sshid =~ /OpenSSH/) && ($sshvernum >= 430)) {
|
|||
}
|
||||
|
||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 370)) ||
|
||||
($sshid =~ /SunSSH/)) {
|
||||
(($sshid =~ /SunSSH/) && ($sshvernum >= 120))) {
|
||||
push @cfgarr, 'RekeyLimit 1G';
|
||||
}
|
||||
|
||||
|
|
@ -795,7 +795,7 @@ if(($sshid =~ /OpenSSH/) && ($sshvernum >= 390)) {
|
|||
}
|
||||
|
||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 380)) ||
|
||||
($sshid =~ /SunSSH/)) {
|
||||
(($sshid =~ /SunSSH/) && ($sshvernum >= 120))) {
|
||||
push @cfgarr, 'ServerAliveCountMax 3';
|
||||
push @cfgarr, 'ServerAliveInterval 0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue