[Bug 10557] .ssh/config settings are incompletely applied with -e or --rsh
https://bugzilla.samba.org/show_bug.cgi?id=10557 --- Comment #1 from Kevin Korb 2014-04-17 18:35:45 UTC --- The key here is the sudo. ssh will always look to ~/.ssh/config but once you sudo your ~ is /root instead of /Users/kbroughton. Duplicate your ~/.ssh/config in ~root/.ssh/config and it should work fine. The reason that -F partially works is because the ProxyCommand is a second ssh session that doesn't have the -F param so is again looking at /root/.ssh/config. -- 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
[Bug 10557] .ssh/config settings are incompletely applied with -e or --rsh
https://bugzilla.samba.org/show_bug.cgi?id=10557 --- Comment #2 from kesten 2014-04-17 18:44:27 UTC --- Thanks for the faster-than-light response. I mounted the samba file server to my mac as recommended in https://discussions.apple.com/message/25112468#25112468 I then symlink and chown to kbroughton so that everything is owned by me down to /var/lib which is of course root:wheel [kbroughton@mb-kbroughton:lynx-ansible/21ct-ansible + (develop)] ls /var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data lrwxr-xr-x 1 kbroughton 21TECHNOLOGIES\Domain Users78B Apr 17 09:48 /var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data -> /Volumes/Temp/Departmental_Shares/Lynxeon/FileArchive/LYNXeon3_fraud_demo_data However, I get a file permission error without sudo [kbroughton@mb-kbroughton:lynx-ansible/21ct-ansible + (develop)] /usr/local/bin/rsync -az -e "ssh -i /Users/kbroughton/.ssh/identities/21ct_dev1_key" /var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data/fraud_1_2_bootstrap.gz cloud-user@21ct-dev1-lynx01:/var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data --progress sending incremental file list rsync: change_dir "/var/lib/lynxeon/sources/LYNXeon3_fraud_demo_data" failed: Permission denied (13) Killed by signal 1. rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1236) [sender=3.1.0] I can ls just fine so it seems i've gotten around the apple bug mentioned in the link, but rsync still has a problem. There is not /root to try putting the .ssh/config there as you suggested. thanks -- 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
[Bug 10557] .ssh/config settings are incompletely applied with -e or --rsh
https://bugzilla.samba.org/show_bug.cgi?id=10557 --- Comment #3 from Kevin Korb 2014-04-17 19:37:06 UTC --- OK, I was speaking from a Linux perspective. I have no idea what OSX uses as root's home dir. Simply put, under sudo you are running as root and root has a different home dir therefore a different ~/.ssh/config file. Also, note that permissions and usernames matter at both ends. -- 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
[Bug 10557] .ssh/config settings are incompletely applied with -e or --rsh
https://bugzilla.samba.org/show_bug.cgi?id=10557 Wayne Davison changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #4 from Wayne Davison 2014-04-19 16:47:00 UTC --- What you should try is the sudo ssh command to see what errors it is generating. I imagine that root is refusing to use a file owned by someone else. You can instead copy the config and key to root's .ssh dir and set it up to work that way. -- 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
Re: [Bug 10557] .ssh/config settings are incompletely applied with -e or --rsh
Just to shed light on the OSX matter, they actually use sudo as well. On Thu, Apr 17, 2014 at 9:37 PM, wrote: > https://bugzilla.samba.org/show_bug.cgi?id=10557 > > --- Comment #3 from Kevin Korb 2014-04-17 19:37:06 > UTC --- > OK, I was speaking from a Linux perspective. I have no idea what OSX uses > as > root's home dir. Simply put, under sudo you are running as root and root > has a > different home dir therefore a different ~/.ssh/config file. > > Also, note that permissions and usernames matter at both ends. > > -- > 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 > -- Jonathan Aquilina -- 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