From owner-ssh@clinet.fi  Thu Jun  7 03:31:20 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id DAA26224
	for <ssh-archiver@cs.hut.fi>; Thu, 7 Jun 2001 03:31:20 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id D352F21986; Thu,  7 Jun 2001 03:31:19 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id DAA00715
	for ssh-outgoing; Thu, 7 Jun 2001 03:08:37 +0300
Received: from shepster.int.bmcomp.com (bmcomp.com [204.210.43.235])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id DAA00711
	for <ssh@clinet.fi>; Thu, 7 Jun 2001 03:08:35 +0300
Received: from shepster.int.bmcomp.com (bmcomp.com [204.210.43.235])
	by shepster.int.bmcomp.com (8.9.3+Sun/8.9.3) with SMTP id RAA11885;
	Wed, 6 Jun 2001 17:08:32 -0700 (PDT)
Message-Id: <200106070008.RAA11885@shepster.int.bmcomp.com>
Date: Wed, 6 Jun 2001 17:08:32 -0700 (PDT)
From: David Knight French <dkf@bmcomp.com>
Reply-To: David Knight French <dkf@bmcomp.com>
Subject: Re: OpenSSH scp -o not implemented?
To: ssh@clinet.fi, peter.denno@nist.gov
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: rZjToblpbN9mTdUhtvQlQQ==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 i86pc i386 
Sender: owner-ssh@clinet.fi
Precedence: bulk

Peter, you need to give an option from the ssh config file as follows:

	scp -o "Protocol=1" ~/desktop/mt-for-mda.pdf nist:/home/pdenno

Just take anything that can be inside of an ssh_config/.ssh/config file and
replace an = for the space, placing it after the -o.

	--Dave
	
>Date: Wed, 06 Jun 2001 13:04:15 -0400
>From: Peter Denno <peter.denno@nist.gov>
>X-Accept-Language: en
>MIME-Version: 1.0
>To: ssh@clinet.fi
>Subject: OpenSSH scp -o not implemented?
>Content-Transfer-Encoding: 7bit
>
> Hi,
>
>The man page for OpenSSH _2.9.p1 scp states that scp takes an -o
>[option] command line switch.
>The switch is used to pass [option] to ssh.
>
>However, the switch is not accepted:
>
>~>scp -o -1 ~/desktop/mt-for-mda.pdf nist:/home/pdenno
>command-line: line 0: Bad configuration option: -1
>lost connection
>
>And it appears that it might not be implemented:
>
>~>scp -v
>usage: scp [-pqrvBC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1
>f2
>   or: scp [options] f1 ... fn directory.
>
>On a related note, how can I force my scp client to talk protocol
>version 1?
>ssh -1 works fine. I suppose I could use scp -S to somehow execute ssh
>-1. Anything neater?
>
>Thanks.
>--
>Best Regards,
> - Peter
>
> Peter Denno
> National Institute of Standards and Technology,
> Manufacturing System Integration Division,
> 100 Bureau Drive, Mail Stop 8260             Tel: +1 301-975-3595
> Gaithersburg, MD, USA 20899-8260             FAX: +1 301-975-4694
>
>

--
David Knight French                           
Black Mountain Computer Consulting
Voice: (858)279-4862
Email: dkf@bmcomp.com

