Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
chore: add client alive SSH settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Feb 1, 2022
1 parent 7d9dea3 commit 306551c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def checkSkipTests() {


def sshexec(workspace, connection, cmd){
sh "ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${workspace}/e2essh ${connection.user}@${connection.ip} -- '${cmd}'"
sh "ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o ClientAliveInterval=60 -o ClientAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${workspace}/e2essh ${connection.user}@${connection.ip} -- '${cmd}'"
}

def scpr(workspace, connection, remote_src, local_dst){
Expand Down

0 comments on commit 306551c

Please sign in to comment.