Created
September 22, 2017 15:41
-
-
Save kevincolten/add020a7dc77fee95cee0471592d50b3 to your computer and use it in GitHub Desktop.
Run Command Over SSH with password bypass fingerprint prompt
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
sudo apt-get update | |
sudo apt-get install sshpass | |
sshpass -p your_password ssh -oUserKnownHostsFile=/dev/null user@hostname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment