Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: error message when conneting to remote server

It seems that your server has problems running instance of sftp-server for you. Check the SSH log to see why.
ereglam

error message when conneting to remote server

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>@XXX.yaog.de
. Host name: XXX.yaog.de (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 "XXX.yaog.de"
. Connecting to 80.190.249.4 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>@XXX.yaog.de'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.

Thanks
ereglam
PS: the log was modified for access protection