tarbackup.com – Simple tar backup for free forever
A feature request for tarbackup is using a private ssh key instead of a password to connect to the tarbackup server when using sftp to backup files. I’m happy to report that we now support public/private keys for sftp authentication!
To use an ssh key with tarbackup, first use this command to create your public/private key-pair:
# cd ~/.ssh
# ssh-keygen -f tarbackup_rsa -C .youremail. -N . -t rsa -q
This will generate 2 files: tarbackup_rsa and tarbackup_rsa.pub. tarbackup_rsa is your private ssh key, you will keep this on your computer as proof that you are who you are. tarbackup_rsa.pub is a public key that you send to the server so that tarbackup.com can authenticate you when you log in via sftp in the future.
To use your private key to authenticate you when you login via sftp, you need to create an ssh_config file in your home directory with:
This is the config file that specifies where your private ssh key is.
You’ll pass the ssh_config file as a parameter to the sftp program when you connect to tarbackup.com via sftp:
And that’s it! Let me know if you have any feedback or questions@davidnanch.