Last active
March 29, 2020 07:36
-
-
Save yanivk1984/039a50275450cb707c0a915d3c307a43 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# run command | |
sshpass -p qwe123 ssh -n -o StrictHostKeyChecking=no "admin@$IP" 'fw stat' | |
# transfer a file | |
sshpass -p 'qwe123' scp cp.pnp admin@$IP:/opt/CPshrd-R80.30/conf/cp.pnp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment