We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3844f86 commit 916e915Copy full SHA for 916e915
sagemaker_ssh_helper/sm-connect-ssh-proxy
@@ -57,4 +57,5 @@ echo "Connecting to $INSTANCE_ID as proxy and starting port forwarding with the
57
ssh -o User=root -o IdentityFile="${SSH_KEY}" -o IdentitiesOnly=yes \
58
-o ProxyCommand="aws ssm start-session --region '${CURRENT_REGION}' --target '${INSTANCE_ID}' --document-name AWS-StartSSHSession --parameters portNumber=%p" \
59
-o ServerAliveInterval=15 -o ServerAliveCountMax=3 \
60
+ -o PasswordAuthentication=no \
61
-o StrictHostKeyChecking=no -N $PORT_FWD_ARGS "$INSTANCE_ID"
0 commit comments