net-ssh/net-ssh — pull request #31 by pcn (2011-12-23 17:20:01+00:00)
Title: Fix an un-necessary crash

When running on a client with an ssh_config that specifies authentication methods that are not supported by net-ssh (specifically gssapi-keyex and gssapi-with-mic in my case) net-ssh will bomb out in session.rb even if there are later methods that are supported.

I see that there is net-ssh-kerberos, but it doesn't support gssapi-keyex, just gssapi-with-mic, so this issue would still happen with it.

I don't know if there are any other considerations with ignoring unknown mechanisms, but this appears to be necessary to work with a mixture of supported and unsupported mechanisms.