https://bugzilla.samba.org/show_bug.cgi?id=10557
Summary: .ssh/config settings are incompletely applied with -e or --rsh Product: rsync Version: 3.1.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: way...@samba.org ReportedBy: kesten.brough...@gmail.com QAContact: rsync...@samba.org .ssh/config settings are not applied at all without coaxing. The IdentityFile setting is not passed to rsync. For better formatting, see the report here. http://unix.stackexchange.com/questions/94421/how-to-use-ssh-config-setting-for-each-server-by-rsync/125251#125251 If i force it with -F "path to .ssh/conf" then the IdentityFile is used correctly, but the jump-hosting fails. sudo /usr/local/bin/rsync -az -e "ssh -F /Users/kbroughton/.ssh/config -i /Users/kbroughton/.ssh/identities/21ct_dev1_key" /var/data/sources/data.tar.gz cloud-user@21ct-dev1-pivot:/home/cloud-user Error without -F or -i Permission denied (publickey,gssapi-keyex,gssapi-with-mic). ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0] Error with hostname /var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data --progress ssh: Could not resolve hostname 21ct-dev1-lynx01: nodename nor servname provided, or not known rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0] ssh 21ct-dev1-lynx01 works rsync -e "ssh -F /Users/kbroughton/.ssh/config" /local_src 10.x.y.z:/remote_dest works ENVIRONMENT local Mac maverics both [default=2.6.9] and homebrew installed 3.1.0 were tried, with no difference. Remote centos6.5 rsync 3.0.9 I would expect that by default or with a CLI option rsync would read the local ~/.ssh/config file and apply ALL of its settings including jump-hosting when the -e or -rsh option is used. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. -- 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