Created
May 26, 2017 12:17
-
-
Save oCroso/ded435c2c7026db3a785ea1979db0be5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SERVER_LIST=/path/to/serverlist | |
while read REMOTE_SERVER | |
do | |
ssh -o HostKeyAlgorithms=ssh-dss -i /home/user/.ssh/id_rsa -tp 1000 username@sshproxy-foo.bar.com $REMOTE_SERVER "exit" | |
done < $SERVER_LIST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment