From owner-ssh@clinet.fi  Tue Jun  5 12:19:30 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 MAA00833
	for <ssh-archiver@cs.hut.fi>; Tue, 5 Jun 2001 12:19:29 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id 30FB0215E1; Tue,  5 Jun 2001 12:19:29 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id LAA26868
	for ssh-outgoing; Tue, 5 Jun 2001 11:43:58 +0300
Received: from lux.lu.ubizen.com (uu194-7-89-81.unknown.be.uu.net [194.7.89.81])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id LAA26829
	for <ssh@clinet.fi>; Tue, 5 Jun 2001 11:43:50 +0300
Received: from [10.20.10.7] (helo=lux.lu.ubizen.com)
	by lux.lu.ubizen.com with smtp (Exim 2.05 #1)
	id 157CRI-0002Kb-00
	for ssh@clinet.fi; Tue, 5 Jun 2001 10:43:48 +0200
Date: Tue, 5 Jun 2001 10:45:02 +0200
From: "O . H ." <olih@swing.be>
To: ssh@clinet.fi
Subject: openssh and putty
Message-ID: <20010605104502.A1172@brezo.lu.ubizen.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Balsa 1.1.3
Lines: 21
Sender: owner-ssh@clinet.fi
Precedence: bulk

For some works, i want to transfer files with scp for sun stations and pscp
(member of the putty suite) for nt servers to a dedicated station.
This tranfer should be done without any uman intervention. the accounts are
only allowed to do scp with shell-wrapper like 
the one found on snailbook (http://www.snailbook.com/faq/restricted-scp.auto.html).

no problems encountered when i play only with openssh implementations BUT
with pscp There is a problem.

I've got this error : environment variable SSH_ORIGINAL_COMMAND not set

I've modified the perl script to print all env variables : the sshd server
does not create this env variable ! (I don't known how exactly the server
creates this variable with datas taken from clients)

My goal is to be able to transfer files (filenames are not fixed) from nt
servers to a sun station . 

Anybody got a good idea (or solution) to help me to solve this. 

thanx

