>Здравствуйте.
>Возникла необходимость хранить дамп базы на другом сервере. Кто-нибудь может подсказать как
>это реализовать на протоколе sftp (ftp через ssh) и запустить это
>все по cron. Протокол нужен именно с шифрованием.
>
>---
>Заранее спасибо, всем откликнувшимся.
почитать man ssh
....................
ssh implements the RSA authentication protocol automatically. The user
creates his/her RSA key pair by running ssh-keygen(1). This stores the
private key in ~/.ssh/identity and stores the public key in
~/.ssh/identity.pub in the user's home directory. The user should then
copy the identity.pub to ~/.ssh/authorized_keys in his/her home directory
on the remote machine (the authorized_keys file corresponds to the con-
ventional ~/.rhosts file, and has one key per line, though the lines can
be very long). After this, the user can log in without giving the pass-
word. RSA authentication is much more secure than rhosts authentication.
..................
Статьи на эту тему здесь проскакивали неоднократно, короче, создаешь приватный и публичные ключи с пустой фразой и не имеешь проблем с вводом паролей.