Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 13 Jun 2004 20:38:57 +0200
From: Andreas Pack <linux AT hobbytown DOT de>
Reply-To: Andreas Pack <linux AT hobbytown DOT de>
Message-ID: <1924982264.20040613203857@hobbytown.de>
To: cygwin AT cygwin DOT com
Subject: Problems with SFTP over SSH1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse AT kundenserver DOT de auth:b677cd0d0e6bec305372e4e70c74e509
X-IsSubscribed: yes

Hi List!

I looked in the archive and with google, but I found no solution for
my problem:

I installed the OpenSSH for Windows package
("setupssh371-20031015.exe") by Michael Johnson, because I only need
SFTP-functionality in Windows and not the hole Cygwin-Package.

Ok, here is my problem: the Server works fine with SSH2 (but slow),
but it doesn't work with SSH1. I'm using WinSCP as client. Here are
the logs:

. --------------------------------------------------------------------------
. WinSCP Version 3.6.1 (Build 221) (OS 5.0.2195)
. Login time: Friday, 11. Jun 2004 03:06:32
. --------------------------------------------------------------------------
. Session name: test AT localhost
. Host name: localhost (Port: 22)
. User name: test (Password: Yes, Key file: No)
. Transfer Protocol: SFTP
. SSH protocol version: 1 only; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: 3des,aes,blowfish,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: 
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: C:\Data, Remote directory: /home/Administrator, Update: No, Cache: Yes
. Cache directory changes: Yes, Permanent: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "localhost"
. Connecting to 127.0.0.1 port 22
. Server version: SSH-1.5-OpenSSH_3.7.1p1
. We claim version: SSH-1.5-WinSCP-release-3.6.1
. Using SSH protocol version 1
. Received public keys
. Host key fingerprint is:
.       1024 9f:3e:f8:7a:09:7f:72:7c:40:e3:b6:9b:6a:8d:73:0b
. Encrypted session key
. Using 3DES encryption
. Trying to enable encryption...
. Initialised triple-DES encryption
. Installing CRC compensation attack detector
. Successfully started encryption
. Sent username "test"
. Session password prompt (test AT localhost's password: )
. Using stored password.
. Sending password with camouflage packets
. Sent password
. Authentication successful
. Started session
. --------------------------------------------------------------------------
. Using SFTP protocol.
. Doing startup conversation with host.
> Type: SSH_FXP_INIT, Size: 5, Number: -1
! exec: sftp-server: not found
. Server sent command exit status 0
. --------------------------------------------------------------------------


What means "sftp-serer: not found"? Does this server work only with
SSH2?

Thanks for any hint!

Bye, Andi


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/