Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. curl -Tu username:password /path/to/dir/*(om[1]) sftp://sftp.example.com/remote/dir
  2.  
  3. RSYNC_PASSWORD='password' rsync -rtv /path/to/dir/ username@sftp.example.com:remote/dir
  4.  
  5. ssh-keygen
  6.  
  7. ssh-copy-key-id username@sftp.example.com
  8.  
  9. curl -T /path/to/dir/*(om[1]) -u username:password sftp://sftp.example.com/remote/dir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement