Skip to content

Instantly share code, notes, and snippets.

@getkub
Created June 19, 2014 11:22
Show Gist options
  • Save getkub/09936d4466af28b78881 to your computer and use it in GitHub Desktop.
Save getkub/09936d4466af28b78881 to your computer and use it in GitHub Desktop.
-- Windows WinScp Command line to push files to a server
"C:\WinSCP.exe" /privatekey="C:\privatekey.ppk" /console /command "open scp://getkub@10.12.123.456:22" "put C:\filedowloads\sampletext.sh /tmp/" "exit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment