Hi, Stephen Dowdy wrote: > Chris Jones wrote, On 11/03/2008 12:14 PM: > >>> /etc/ssh/ssh_config >>> For all hosts >>> Host * >>> Compression yes >>> ForwardX11 yes >>> Host by host settings >>> Host XXX.YYY.ZZZ >>> Compression yes >>> ForwardX11 yes > > My understanding is that a First-Match rule is employed, > so you want to put the "Host *" at the bottom of your config file > as a last-chance match. Good point. I didn't intend my post to suggest the ordering, but I see it could be read that way. You are correct, ssh_config is read on a first match basis, so host specific setting should go first. > Please note that the "Host" designation is arbitrary -- it can be any > name and does not have to be a DNS name or IP address (though that's > the default interpretation by ssh) > > So, you could create a bookmark entry for host diddle that did X forwarding > with something like: > > Host bm-diddle > Hostname diddle > User jimbo > ForwardX11 yes > > so that you aren't overriding the non-forwarding default behaviour when > just using the hostname 'diddle' as-is. That is interesting. I haven't really delved into this file more than I needed to to get things working, but I can see the above being useful. The ability to change the default login username per host is very interesting... Chris ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.