Topic "error message when conneting to remote server"

Author Message


when I try to log onto a friends server, the following message pops up and terminates the connection:
Die Verbindung wurde unerwartet geschlossen. Der Server sendete den Befehlsbeendigungsstatus 1.
[trans]the conneted was terminated unexpectantly. the server sends the command end status 1.[/trans]
the log shows the follwing content:
. --------------------------------------------------------------------------
. WinSCP Version 3.6.8 (Build 245) (OS 5.1.2600 Service Pack 2)
. Login time: Sonntag, 12. September 2004 23:14:01
. --------------------------------------------------------------------------
. Session name: <user>
. Host name: (Port: 22)
. User name: <user> (Password: Yes, Key file: No)
. Transfer Protocol: SFTP (SCP)
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: aes,blowfish,3des,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: /bin/bash, EOL: 0
. Local directory: <private_path>, Remote directory: /, Update: Yes, 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 ""
. Connecting to port 22
. Server version: SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3
. We claim version: SSH-2.0-WinSCP-release-3.6.8
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 0f:f9:c3:77:b7:89:be:85:4e:df:5d:fb:76:36:82:3b
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "<user>".
. Keyboard-interactive authentication refused
. Session password prompt (<user>'s password: )
. Using stored password.
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SFTP protocol.
. Doing startup conversation with host.
> Type: SSH_FXP_INIT, Size: 5, Number: -1
. Server sent command exit status 1
. All channels closed. Disconnecting
* (ESshFatal) Kann das SFTP nicht initialisieren. Luft auf dem entfernten Rechner ein SFTP Server-Programm?
* Die Verbindung wurde unerwartet geschlossen. Der Server sendete den Befehlsbeendigungsstatus 1.

I set up up a key via PuTTy using the same passphrase as the accounts password, but so far I always get the same result.

My OS is WinXP, which shouldn't really make a difference.

PS: the log was modified for access protection
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24552
Location: Prague, Czechia
It seems that your server has problems running instance of sftp-server for you. Check the SSH log to see why.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License