This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

private key with ssh / rsync / sftp

not simple as you think... ;)
Added by about 3 years ago

It's easy to log into a server with password authentication.

It's a tiny problem when you have to use private key. Below a short table that would help you.

program command
ssh ssh -i /path/to/key [email protected]
rsync rsync -e "ssh -i /path/to/key" local_files [email protected]:/destination/
sftp sftp -o IdentityFile=/path/to/key [email protected]

As you can see, the third one is quite strange ;)


Comments