merge: bound identity-key deployment connections
This commit is contained in:
commit
d12ecc74f2
@ -124,6 +124,14 @@ function Invoke-Plink {
|
||||
"StrictHostKeyChecking=yes"
|
||||
"-o"
|
||||
("UserKnownHostsFile={0}" -f $knownHostsPath)
|
||||
"-o"
|
||||
"ConnectTimeout=20"
|
||||
"-o"
|
||||
"ConnectionAttempts=1"
|
||||
"-o"
|
||||
"ServerAliveInterval=15"
|
||||
"-o"
|
||||
"ServerAliveCountMax=2"
|
||||
"-i"
|
||||
$IdentityFile
|
||||
"-p"
|
||||
@ -175,6 +183,10 @@ function Copy-WithPscp {
|
||||
"StrictHostKeyChecking=yes"
|
||||
"-o"
|
||||
("UserKnownHostsFile={0}" -f $knownHostsPath)
|
||||
"-o"
|
||||
"ConnectTimeout=20"
|
||||
"-o"
|
||||
"ConnectionAttempts=1"
|
||||
"-i"
|
||||
$IdentityFile
|
||||
"-P"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user