Commit 7cccd522 by César Galvis

feat: updated ssh connection scripts

parent 40288073
......@@ -13,4 +13,4 @@ SSH_PORT=22
SSH_DATA=ssh-data.txt
# Connect to SSH server with proxy
sshpass -f$SSH_DATA ssh -o ProxyCommand="corkscrew $PROXY_SERVER $PROXY_PORT %h %p" -p "$SSH_PORT" "$SSH_USER@$SSH_SERVER"
\ No newline at end of file
sshpass -f$SSH_DATA ssh -o ProxyCommand="corkscrew $PROXY_SERVER $PROXY_PORT %h %p" -o PreferredAuthentications=password -o PubkeyAuthentication=no -p "$SSH_PORT" "$SSH_USER@$SSH_SERVER"
\ No newline at end of file
......@@ -15,4 +15,4 @@ SSH_TUNNEL_REMOTE_PORT=80
SSH_DATA=ssh-data.txt
# Make SSH tunnel with proxy
sshpass -f$SSH_DATA ssh -o ProxyCommand="corkscrew $PROXY_SERVER $PROXY_PORT %h %p" -L $SSH_TUNNEL_LOCAL_PORT:localhost:$SSH_TUNNEL_REMOTE_PORT -p "$SSH_PORT" $SSH_USER@$SSH_SERVER
\ No newline at end of file
sshpass -f$SSH_DATA ssh -o ProxyCommand="corkscrew $PROXY_SERVER $PROXY_PORT %h %p" -o PreferredAuthentications=password -o PubkeyAuthentication=no -L $SSH_TUNNEL_LOCAL_PORT:localhost:$SSH_TUNNEL_REMOTE_PORT -p "$SSH_PORT" $SSH_USER@$SSH_SERVER
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment