Hello Folks Can anyone help with why I can use ssh like so:
[r...@morgansoldmachine ~]# ssh -t [email protected] sudo ssh -i /home/rsync/.ssh/id_dsa [email protected] Last login: Tue Mar 24 21:32:51 2009 from morgansmachine.lan [r...@morgansoldmachine ~]# logout Connection to 192.168.1.100 closed. Connection to 192.168.1.40 closed. [r...@morgansoldmachine ~]# But, when I use the same command with the -e option via rsync it fails: [r...@morgansoldmachine ~]# ssh -t [email protected] sudo rsync -avzAXHn --delete-after -e 'ssh -i /home/rsync/.ssh/id_dsa' /etc [email protected]:/media/bigdisk/morgansmachine/etc [email protected]'s password: Permission denied, please try again. [email protected]'s password: Permission denied, please try again. [email protected]'s password: Permission denied (publickey,gssapi-with-mic,password). rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.5] Connection to 192.168.1.40 closed. [r...@morgansoldmachine ~]# I lost all my hair getting ssh sorted, only to have it fail when run via rsync... Many thanks, Morgan. -- Getting errors: "There are problems with the signature" (or similar)? Update your system by installing certificates from CAcert Inc, see here: http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b Or, if Internet Explorer is your default browser, simply click this link: http://www.cacert.org/index.php?id=17 Morgan Read NEW ZEALAND <mailto:mstuffATreadDOTorgDOTnz> fedora + freedom; fact || fiction? http://fedoraproject.org/wiki/Overview get freed-ora! http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
