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

Author Message
devicez
[View user's profile]

Joined: 2004-07-16
Posts: 1
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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Try to force /bin/bash as Shell on SCP tab of login dialog. Or use SFTP instead of SCP (recommended).
_________________
Martin Prikryl
Guest




prikryl 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 Sad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Quote:
i tried to force /bin/bash and its not working and i also tried SFTP Sad

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..
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License