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: Problmy s pripojenm cez SFTP na SSH server

Guest

Problmy s pripojenm cez SFTP na SSH server

PuTTY nie je vhodn, pretoe potrebujem sťahovať/posielať sbory na SFTP server. Čo by ste mi poradili, čo mm robiť ďalej ? Akou cestou sť ?
Vrel vďaka.
martin

Re: Server sent command exit status 0 -Nemono sa pripojiť

Vlado

Server sent command exit status 0 -Nemono sa pripojiť

Dobr deň,
neskal som inho klienta SSH. Ak by som mal, poraďte prosm, akho. Doteraz som cez tento protokol SFTP nekomunikoval. Neviete, či tento problm je spsoben mnou alebo na strane servera SSH (Caterpillar).
VĎaka za pomoc.
martin

Re: Server sent command exit status 0 -Nemono sa pripojiť k SSH

Zkouseli jste jineho SSH klienta?
Vlado

Server sent command exit status 0 -Nemono sa pripojiť k SSH

Pozdravujem Vs,
Rieim pripojenie k serveru b2b.cat.com na porte 22 cez SFTP protokol, verzia protoku 4, SSH-2.
Nemoem sa pripojiť, vdy mi to vyhod hlku:
Server sent command exit status 0
Nepodařilo se inicializovat protokol SFTP. Bě na hostiteli SFTP server?

Vid priloen log sbor:
. 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. jn 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:\JEEVES, 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čekvaně 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 prsť, v čom je problm. N odberateľ firma Caterpillar v USA to od ns poaduje na prenos dajov medzi nimi a nami.
Oni hovoria, e u nich je vetko v poriadku.

Prosm o radu, budem Vm veľmi povďačn, ak na niečo prdete.

S pozdravom a ctou
martin

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?
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).
wayne.mellors

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.