scp -2 patch

Damien Miller djm at mindrot.org
Fri Sep 8 19:32:49 EST 2000


On Thu, 7 Sep 2000, Stuart Craig wrote:

> I'm not all that concerned about consistency, but I would like to see a
> -2 switch on both ssh and scp.  I've got a network with around 150 *NIX
> systems running a mix of OpenSSH, commercial ssh1 and commercial ssh2,
> and I'd like to be able to force a protocol 2 connection when I need it.

Does OpenSSH's protocol fallback not work correctly?

Otherwise you can use ssh_config or ~/.ssh/config:

Host foo
	Protocol 1

Host bar
	Protocol 2

This takes care of both ssh and scp. Though I do agree with Markus that
a '-o' scp option is the way to go.

-d

-- 
| ``The power of accurate observation is  | Damien Miller <djm at mindrot.org>
| commonly called cynicism by those who   | @Work <djm at ibs.com.au>
| have not got it'' - George Bernard Shaw | http://www.mindrot.org






More information about the openssh-unix-dev mailing list