ssh (and maybe rsync) question...
Hello.
I've been having some problems here with ssh.
I want to copy files from my home dial-up box to a server (in which
I'm only a regular user), but don't want to send the password as
clear text (otherwise I'd just use sitecopy).
I've tried rsync + ssh, but then I need to interact with ssh (and
I'd like to put this in my crontab).
The ssh manpage says I may generate a keey pair with ssh-keygen, and
then put my public key in ~/.ssh/authorized_keys in the remote host,
so I'd login without having to interact.
I ran ssh-keygen, then copied ~/.ssh/identity.pub to the remote
side, and changed its name to ~/.ssh/authorized_keys (since there
wasn't such a file before).
But this doesn't work either, since ssh asks for my new passphrase
anyway (the one from the new key pair).
Since I'd like to put this in my crontab, and the computer may
reboot in the meantime, I'd guess that ssh-agent wouldn't help
either.
Are there alternatives in some other debian packages?
Or, did I miss something?
Thanks,
J.
--
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br mailto:pellegrini@iname.com
Reply to: