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: Connection has been unexpectedly closed. Server sent command exit status 0.

i tried to force /bin/bash and its not working and i also tried SFTP :(

If yo have tried SFTP, you must get different error. What is it?

Anyway, I'm just leaving for one week, so I cannot answer you soon. Please make sure you read
Requirements, Supported transfer protocols and F.A.Q..
Guest

Re: Connection has been unexpectedly closed. Server sent command exit status 0.

martin wrote:

Try to force /bin/bash as Shell on SCP tab of login dialog. Or use SFTP instead of SCP (recommended).


i tried to force /bin/bash and its not working and i also tried SFTP :(
martin

Re: Connection has been unexpectedly closed. Server sent command exit status 0.

Try to force /bin/bash as Shell on SCP tab of login dialog. Or use SFTP instead of SCP (recommended).
devicez

Connection has been unexpectedly closed. Server sent command exit status 0.

Hi All,

i`m trying to connect to Check Point FW1 NG with WinSCP (SCP) and this is the error i`m getting:
Connection has been unexpectedly closed. Server sent command exit status 0.

someone ?
thanks a lot.

this is the log file:

. --------------------------------------------------------------------------
. WinSCP Version 3.6.1 (Build 221) (OS 5.1.2600 Service Pack 1)
. Login time: Thursday, July 15, 2004 9:24:30 AM
. --------------------------------------------------------------------------
. Session name: test@10.10.10.1 - dam
. Host name: 10.10.10.1 (Port: 22)
. User name: test (Password: Yes, Key file: No)
. Transfer Protocol: 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: ?; Lookup user groups: Yes
. Shell: /bin/bash, EOL: 0
. Local directory: default, Remote directory: home, 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 "10.10.10.1"
. Connecting to 10.10.10.1 port 22
. Server version: SSH-2.0-OpenSSH_3.5p1
. We claim version: SSH-2.0-WinSCP-release-3.6.1
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 4f:7b:4f:c1:d0:dd:68:7a:88:f1:8b:3a:e4:3d:41:8d
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "test".
. Keyboard-interactive authentication refused
. Session password prompt (test@10.10.10.1's password: )
. Using stored password.
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SCP protocol.
. Doing startup conversation with host.
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:$?"
. Server sent command exit status 0
. All channels closed. Disconnecting
* (ESshFatal) Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
* Connection has been unexpectedly closed. Server sent command exit status 0.