Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way:

I've got 2 servers: server1 and backup I want server1 to connect to backup and upload a file. So I do this on server1: ssh-keygen ssh-copy-id user@backup and then I can doo sftp user@backup without passwords.

Is that right? And when I do ssh-keygen what do I have to write as passphrase? And what should I save on my computer as backup? The identification public key, key fingerprint and key's randomart image?

Regards and thank you :)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.