- From: Mike <
>
- To:
- Subject: [chef] Re: Re: knife ssh - different port for single host
- Date: Thu, 1 Nov 2012 12:47:01 -0400
Seems "not too hard" (by someone who is not volunteering to do it) to
use Net::SSH::Config class for this, right?
http://net-ssh.github.com/ssh/v2/api/classes/Net/SSH/Config.html
On Thu, Nov 1, 2012 at 12:30 PM, Adam Jacob
<
>
wrote:
>
Sadly, I don't think is is possible without a patch.
>
>
Best,
>
Adam
>
>
On Nov 1, 2012, at 5:38 AM, Steffen Gebert
>
<
>
>
wrote:
>
>
> Hi,
>
>
>
> we have one host, which runs sshd on a different port.
>
>
>
> I found http://tech.picklive.com/2011/11/15/knife-ssh-config-options.html,
>
> but this works only on a global scope.
>
>
>
> Is it possible to change the port for a single host?
>
> ~/.ssh/config is unfortunately not interpreted.
>
>
>
> Thanks for your reply
>
> Steffen
>
>
Archive powered by MHonArc 2.6.16.