Server sent command exit status0

Advertisement

wayne.mellors
Guest

Server sent command exit status0

Hi There,

I am trying to login to a Checkpoint UTM-1 3070. I get the error below:

Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

I have played with the SCP BASH settings and the SFTP settings but no luck. Any help would be really appreciated. Thanks.

Reply with quote

Advertisement

Guest

These are the logs, thanks.
. 2009-05-06 16:50:29.444 --------------------------------------------------------------------------
. 2009-05-06 16:50:29.444 WinSCP Version 4.1.9 (Build 416) (OS 5.1.2600 Service Pack 2)
. 2009-05-06 16:50:29.444 Login time: 06 May 2009 16:50:29
. 2009-05-06 16:50:29.444 --------------------------------------------------------------------------
. 2009-05-06 16:50:29.444 Session name: syo-fw-policy05-1
. 2009-05-06 16:50:29.444 Host name: 10.135.184.81 (Port: 22)
. 2009-05-06 16:50:29.444 User name: wayne.mellors (Password: No, Key file: No)
. 2009-05-06 16:50:29.444 Tunnel: No
. 2009-05-06 16:50:29.444 Transfer Protocol: SCP
. 2009-05-06 16:50:29.444 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-05-06 16:50:29.444 Proxy: none
. 2009-05-06 16:50:29.444 SSH protocol version: 2; Compression: No
. 2009-05-06 16:50:29.444 Bypass authentication: No
. 2009-05-06 16:50:29.444 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-05-06 16:50:29.444 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-05-06 16:50:29.444 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-05-06 16:50:29.444 SFTP Bugs: -,-
. 2009-05-06 16:50:29.444 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-05-06 16:50:29.444 Shell: /usr/local/bin/bash, EOL: 0
. 2009-05-06 16:50:29.444 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-05-06 16:50:29.444 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-05-06 16:50:29.444 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-05-06 16:50:29.444 Cache directory changes: Yes, Permanent: Yes
. 2009-05-06 16:50:29.444 DST mode: 1
. 2009-05-06 16:50:29.444 --------------------------------------------------------------------------
. 2009-05-06 16:50:29.491 Looking up host "10.135.184.81"
. 2009-05-06 16:50:29.491 Connecting to 10.135.184.81 port 22
. 2009-05-06 16:50:29.506 Server version: SSH-2.0-OpenSSH_3.6.1p2
. 2009-05-06 16:50:29.506 We claim version: SSH-2.0-WinSCP_release_4.1.9
. 2009-05-06 16:50:29.506 SSPI: acquired credentials for: wayne.mellors@ASIA.FIMAT.SOCGEN
. 2009-05-06 16:50:29.506 Cannot convert IP address to SPN: DNS is not trusted
. 2009-05-06 16:50:29.506 GSSKEX disabled: The operation completed successfully.
 
. 2009-05-06 16:50:29.506 Using SSH protocol version 2
. 2009-05-06 16:50:29.506 Doing Diffie-Hellman group exchange
. 2009-05-06 16:50:29.506 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-05-06 16:50:29.896 Host key fingerprint is:
. 2009-05-06 16:50:29.974 ssh-rsa 1024 bb:ed:37:46:d9:12:8d:6b:f0:d5:93:f5:ee:70:68:47
. 2009-05-06 16:50:29.974 Initialised AES-256 CBC client->server encryption
. 2009-05-06 16:50:29.974 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-05-06 16:50:29.974 Initialised AES-256 CBC server->client encryption
. 2009-05-06 16:50:29.974 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-05-06 16:50:29.974 Using username "wayne.mellors".
. 2009-05-06 16:50:29.990 Keyboard-interactive authentication refused
. 2009-05-06 16:50:29.990 Prompt (6, SSH password, , &Password: )
. 2009-05-06 16:50:34.467 Sent password
. 2009-05-06 16:50:34.483 Access granted
. 2009-05-06 16:50:34.483 Opened channel for session
. 2009-05-06 16:50:34.498 Started a shell/command
. 2009-05-06 16:50:34.498 Server sent command exit status 0
. 2009-05-06 16:50:34.498 --------------------------------------------------------------------------
. 2009-05-06 16:50:34.498 Using SCP protocol.
. 2009-05-06 16:50:34.498 Doing startup conversation with host.
. 2009-05-06 16:50:34.498 Skipping host startup message (if any).
> 2009-05-06 16:50:34.498 echo "WinSCP: this is end-of-file:0"
. 2009-05-06 16:50:34.498 Disconnected: All channels closed
* 2009-05-06 16:50:34.514 (ESshFatal) Connection has been unexpectedly closed. Server sent command exit status 0.
* 2009-05-06 16:50:34.514 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,505
Location:
Prague, Czechia

Re: Server sent command exit status0

Please post a log file for SFTP as well. Also are you able to log in with SSH terminal client (e.g. PuTTY)? If you are, can you post a terminal output?

Reply with quote

Vlado
Joined:
Posts:
2
Location:
Slovakia

Server sent command exit status 0 -Nemožno sa pripojiť k SSH

Pozdravujem Vás,
Riešim pripojenie k serveru b2b.cat.com na porte 22 cez SFTP protokol, verzia protoku 4, SSH-2.
Nemožem sa pripojiť, vždy mi to vyhodí hlášku:
Server sent command exit status 0
Nepodařilo se inicializovat protokol SFTP. Běží na hostiteli SFTP server?

Vid priložený log súbor:
. 2011-06-29 11:24:14.312 --------------------------------------------------------------------------
. 2011-06-29 11:24:14.312 WinSCP Verze 4.3.3 (Sestavení 1340) (OS 5.1.2600 Service Pack 3)
. 2011-06-29 11:24:14.312 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-06-29 11:24:14.312 Login time: 29. jún 2011 11:24:14
. 2011-06-29 11:24:14.312 --------------------------------------------------------------------------
. 2011-06-29 11:24:14.312 Session name: Caterpillar (Modified stored session)
. 2011-06-29 11:24:14.312 Host name: b2b.cat.com (Port: 22)
. 2011-06-29 11:24:14.312 User name: ESS05E25 (Password: Yes, Key file: No)
. 2011-06-29 11:24:14.312 Tunnel: No
. 2011-06-29 11:24:14.312 Transfer Protocol: SFTP (SCP)
. 2011-06-29 11:24:14.312 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-06-29 11:24:14.312 Proxy: none
. 2011-06-29 11:24:14.312 SSH protocol version: 2; Compression: No
. 2011-06-29 11:24:14.312 Bypass authentication: No
. 2011-06-29 11:24:14.312 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-06-29 11:24:14.312 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-06-29 11:24:14.312 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-06-29 11:24:14.312 SFTP Bugs: -,-
. 2011-06-29 11:24:14.312 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-06-29 11:24:14.312 Shell: default
. 2011-06-29 11:24:14.312 EOL: 0, UTF: 2
. 2011-06-29 11:24:14.312 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-06-29 11:24:14.312 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-06-29 11:24:14.312 Local directory: C:\JEVES, Remote directory: home, Update: No, Cache: Yes
. 2011-06-29 11:24:14.312 Cache directory changes: Yes, Permanent: Yes
. 2011-06-29 11:24:14.312 DST mode: 1
. 2011-06-29 11:24:14.312 --------------------------------------------------------------------------
. 2011-06-29 11:24:14.421 Looking up host "b2b.cat.com"
. 2011-06-29 11:24:14.468 Connecting to 165.26.254.29 port 22
. 2011-06-29 11:24:14.781 Server version: SSH-2.0-Maverick_SSHD
. 2011-06-29 11:24:14.781 We believe remote version has SSH-2 ignore bug
. 2011-06-29 11:24:14.781 Using SSH protocol version 2
. 2011-06-29 11:24:14.781 We claim version: SSH-2.0-WinSCP_release_4.3.3
. 2011-06-29 11:24:14.968 Doing Diffie-Hellman group exchange
. 2011-06-29 11:24:15.296 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-06-29 11:24:15.625 Host key fingerprint is:
. 2011-06-29 11:24:15.625 ssh-dss 1023 41:c9:37:18:e1:52:68:57:95:7c:f7:b2:0e:9c:85:2d
. 2011-06-29 11:24:15.625 Initialised AES-256 CBC client->server encryption
. 2011-06-29 11:24:15.625 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-06-29 11:24:15.625 Initialised AES-256 CBC server->client encryption
. 2011-06-29 11:24:15.625 Initialised HMAC-SHA1 server->client MAC algorithm
! 2011-06-29 11:24:15.984 Using username "ESS05E25".
. 2011-06-29 11:24:16.140 Prompt (7, SSH password, , &Heslo:)
. 2011-06-29 11:24:16.140 Using stored password.
. 2011-06-29 11:24:16.140 Sent password
. 2011-06-29 11:24:16.546 Access granted
. 2011-06-29 11:24:16.703 Opened channel for session
. 2011-06-29 11:24:17.718 Started a shell/command
. 2011-06-29 11:24:17.718 --------------------------------------------------------------------------
. 2011-06-29 11:24:17.718 Using SFTP protocol.
. 2011-06-29 11:24:17.718 Doing startup conversation with host.
> 2011-06-29 11:24:17.718 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2011-06-29 11:24:17.875 Server sent command exit status 0
. 2011-06-29 11:24:17.875 Disconnected: All channels closed
* 2011-06-29 11:24:17.875 (ESshFatal) Spojení bylo neočekávaně ukončeno. Server poslal ukončovací status příkazu 0.
* 2011-06-29 11:24:17.875 Nepodařilo se inicializovat protokol SFTP. Běží na hostiteli SFTP server?
Neviem na to prísť, v čom je problém. Náš odberateľ firma Caterpillar v USA to od nás požaduje na prenos údajov medzi nimi a nami.
Oni hovoria, že u nich je všetko v poriadku.

Prosím o radu, budem Vám veľmi povďačný, ak na niečo prídete.

S pozdravom a úctou

Reply with quote

Advertisement

Vlado

Server sent command exit status 0 -Nemožno sa pripojiť

Dobrý deň, neskúšal som iného klienta SSH. Ak by som mal, poraďte prosím, akého. Doteraz som cez tento protokol SFTP nekomunikoval. Neviete, či tento problém je spôsobený mnou alebo na strane servera SSH (Caterpillar). VĎaka za pomoc.

Reply with quote

martin
Site Admin
martin avatar

Re: Server sent command exit status 0 -Nemožno sa pripojiť

Nevim. Proto by stalo za to zkusit jineho klienta. Zkuste PuTTY.

Reply with quote

Guest

Problémy s pripojením cez SFTP na SSH server

PuTTY nie je vhodné, pretože potrebujem sťahovať/posielať súbory na SFTP server. Čo by ste mi poradili, čo mám robiť ďalej ? Akou cestou ísť ? Vrelá vďaka.

Reply with quote

martin
Site Admin
martin avatar

Re: Problémy s pripojením cez SFTP na SSH server

To ja chapu. Me jde jen o to jestli pujde to pripojeni, abych vedel jestli je to problem na strane serveru nebo klienta.

Reply with quote

Advertisement

You can post new topics in this forum