[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh config per domain



On 04/02/2014 05:28 PM, Peter Pentchev wrote:


> Возможно, но только с OpenSSH 6.5 и дальше.
> 
> openssh (1:6.5p1-1) unstable; urgency=medium ... keys in
> known_hosts or checking host certificate names ...
> 
> Так что, начиная с версии 6.5, OpenSSH умеет "догадываться", что
> при "ssh straylight" нужно глянуть на "Host
> straylight.m.ringlet.net".


> Видимо в 1:6.5p1-6 это сломали. Но я давно не обновлялся, и с 
> 1:6.6p1-2 оно таки работает.

В 6.5p1-6 ничего не ломали. Счастье начинается только с 6.6:

http://www.openssh.com/txt/release-6.6

 * ssh(1): if hostname canonicalisation is enabled and results in the
   destination hostname being changed, then re-parse ssh_config(5) files
   using the new destination hostname. This gives 'Host' and 'Match'
   directives that use the expanded hostname a chance to be applied.

-- 
sergio.


Reply to: