Closed nedyalkov closed 7 years ago
It works perfectly for me with the ssh private key. There is no need to have an option for that, since rdocker internally uses plain ssh commands, hence all authentication is done by ssh.
Hi, How would you use rdocker with a server that I currently need to connect using some SSH options?
ssh -i ~/.ssh/my-ssh-key.id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null uuu@server.somethere.com.com -oPort=222
or
ssh -i ~/.ssh/my-ssh-key.id_rsa uuu@server.somethere.com.com -oPort=222
the simpler rdocker uuu@server.somethere.com.com 222
doesn't work.
Thanks
Put the options in a custom host entry in your .ssh/config ?
On Wed, Mar 1, 2017 at 12:05 PM Joao C Costa notifications@github.com wrote:
Hi, How would you use rdocker with a server that I currently need to connect using some SSH options?
ssh -i ~/.ssh/my-ssh-key.id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null uuu@server.somethere.com.com -oPort=222
or
ssh -i ~/.ssh/my-ssh-key.id_rsa uuu@server.somethere.com.com -oPort=222
the simpler rdocker uuu@server.somethere.com.com 222 doesn't work. Thanks
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/dvddarias/rdocker/issues/5#issuecomment-283402844, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsiHKr0dM3l_n84P_xzKmrZF_9DRe-8ks5rhaVbgaJpZM4LKRTF .
Works beautifully. For some reason I had the impression it didn't work, but was prob due to the Mac OSX that has also been corrected.
Great! Glad to help.
On Wed, Mar 1, 2017 at 2:41 PM Joao C Costa notifications@github.com wrote:
Works beautifully. For some reason I had the impression it didn't work, but was prob due to the Mac OSX that has also been corrected.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/dvddarias/rdocker/issues/5#issuecomment-283447023, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsiHGieCoDV8Ha1khR8MaBlt7bgHfQCks5rhcnugaJpZM4LKRTF .
But it's not so convenient for one-time connections with another identities...
My server doesn't support password login so I cannot use rdocker with a password. It doesn't support using a private key, thought.