Terminal: Making SSH Protocol 2 default.

Pre-snow leopard, when starting a new connection in termnial, SSH Protocol 1 now appears to be default. Previously it was SSH (automatic).

Is there a way to revert to the previous behavior, or make SSH Protocol 2 the default?

Thanks.

Mac OS X (10.6)

Posted on Sep 2, 2009 8:23 PM

Reply
9 replies

Sep 30, 2009 11:59 AM in response to Josh Burke

Yes, the New Remote Connection thing now defaults to SSH Protocol 1, the version you do NOT want to use by default. Automatic is the right choice, and used to be the default. The Terminal New Remote Connection window was altered in Snow Leopard to have this new behavior and it's both a BAD IDEA and an annoyance.

Like others on this thread, we in my company use terminal quite heavily for opening windows to servers all day. We all noticed this change within minutes of finishing the upgrade to Snow Leopard. While there's lots of great things about Snow Leopard, we were disappointed with this fault.

Oct 1, 2009 5:56 PM in response to Josh Burke

Workaround:

When adding a new remove connection, specify the "-2" option. For example, if you're connecting to "host1.example.org," click the icon to add a new remote connection, then put "host1.example.org -2" in the box. In the connection command box at the bottom of the New Remote Connection screen, the command will say "ssh -1 user@host1.example.org -2".

When you specify -2 after -1 in the SSH command, the -2 takes precedence. I tested this with a server I know only accepts protocol 2. When I connect without the -2, I get the error "Protocol major versions differ: 1 vs. 2." When I add the -2 to the server name, it lets me log in.

It's obviously not a great fix, because a great fix would be for Apple to correct what is obviously a serious security bug. However, it's an okay workaround that gets rid of the annoyance.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal: Making SSH Protocol 2 default.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.