Skip to content

Commit

Permalink
start ssh tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Jun 27, 2024
1 parent 3b074d2 commit 4f41c41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aws/dependencies/reverseShell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ function closeSSHTunnel(){
function restartSSHTunnel(){
local instanceName=$1
local instanceIp=$2
local monitorPort=2200
updateSshConfigInterface $instanceName HostName $instanceIp
autossh -f -T -N -q -4 -M $monitorPort $instanceName
}

0 comments on commit 4f41c41

Please sign in to comment.