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

Re: Problem with ssh



On Sat, Jun 29, 2002 at 01:41:26PM -0500, Richard Cobbe wrote:
> Lo, on Saturday, June 29, Sam Varghese did write:
> > But does OpenSSH default to version 1 or version 2? I find that I can
> > log in to the two servers which I need to - one uses version 1 and the
> > other version 2 - and I don't need to supply the -2 switch.
> 
> I'm not entirely sure how OpenSSH decides which protocol version to
> use.  It's entirely possible that there's a hand-shaking phase in the
> connection process, during which the client and the server figure out
> which versions of the protocol they support, and in what order.

As far as I know that's what happens, and you can override it on a
server-by-server basis using the Protocol command in ~/.ssh/config. (See
ssh(1) or ssh_config(5), depending on your version of OpenSSH.)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: