Topic "Incompatibility with scponlyc? Problems connecting to server"

Author Message
patrickr
[View user's profile]

Joined: 2006-10-25
Posts: 3
Location: Munich, Germany
when connecting to the server (using key authentication) the authentication seems to work (pls see the following logfile-information):

---------------------------------------
2006-10-25 06:23:30.468 Looking up host "xx.yy.ccc.cc"
. 2006-10-25 06:23:30.468 Connecting to xx.yy.ccc.cc port 22
. 2006-10-25 06:23:30.687 Server version: SSH-1.99-OpenSSH_3.5p1
. 2006-10-25 06:23:30.687 We claim version: SSH-1.5-WinSCP_release_3.8.2
. 2006-10-25 06:23:30.687 Using SSH protocol version 1
. 2006-10-25 06:23:30.718 Received public keys
. 2006-10-25 06:23:30.718 Host key fingerprint is:
. 2006-10-25 06:23:30.718 1024 ww:xx:rr:tt:zz:uu:ii:pp:qq::ll:uu:qq:ss:yy:
. 2006-10-25 06:23:30.734 Encrypted session key
. 2006-10-25 06:23:30.734 AES not supported in SSH-1, skipping
. 2006-10-25 06:23:30.734 Using Blowfish encryption
. 2006-10-25 06:23:30.734 Trying to enable encryption...
. 2006-10-25 06:23:30.734 Initialised Blowfish encryption
. 2006-10-25 06:23:30.734 Installing CRC compensation attack detector
. 2006-10-25 06:23:30.781 Successfully started encryption
. 2006-10-25 06:23:30.781 Sent username "test"
! 2006-10-25 06:23:30.828 Versuche Authentifizierung mit ffentlichem Schlssel.
. 2006-10-25 06:23:30.828 Trying public key "D:\mm\hh\key.ppk"
. 2006-10-25 06:23:30.828 Passphrase prompt (Passphrase for key "rsa-key-20011013": )
. 2006-10-25 06:23:44.750 Remote debug message: RSA authentication accepted.
. 2006-10-25 06:23:44.984 Authentication successful
. 2006-10-25 06:23:44.984 Started session
--------------------------

but then an error-warning appears that says the shell is not compatible with the programm and i should better use "bash" -->> which is not part of the deal when you use scponly to chroot some users.... pls find the following logfile:
---------------------------

2006-10-25 06:23:44.984 Using SCP protocol.
. 2006-10-25 06:23:44.984 Doing startup conversation with host.
. 2006-10-25 06:23:44.984 Skipping host startup message (if any).
> 2006-10-25 06:23:44.984 echo "WinSCP: this is end-of-file:0"
. 2006-10-25 06:23:45.031 Server sent command exit status 1
. 2006-10-25 06:23:45.031 Server closed network connection
* 2006-10-25 06:23:45.031 (ESshFatal) Fehler beim berspringen der Startnachricht. Ihre Kommandozeile (Shell) ist mglicherweise nicht mit dieser Anwendung kompatibel (BASH wird empfohlen).
* 2006-10-25 06:23:45.031 Die Verbindung wurde unerwartet geschlossen. Der Server sendete den Befehlsbeendigungsstatus 1.
---------------------------

can someone help me??

cheers and thanx patrick
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Have you tried switching to SFTP protocol?
_________________
Martin Prikryl
patrickr
[View user's profile]

Joined: 2006-10-25
Posts: 3
Location: Munich, Germany
thanks for your reply. oh yes. i tried it but i have nor sftp server running on my box. i do not know what is going on there. the scponlyc is well implemented (echo /usr/local/sbin/scponly >> /etc/shells) ant "make jail" worked perfect -> test-user is correct in /etc/passwd etc. when i give the bash to the test-user it works. so it defenitly has something to do with scponlyc.... what the hell is the problem ;-() ....
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
patrickr wrote:
thanks for your reply. oh yes. i tried it but i have nor sftp server running on my box. i do not know what is going on there. the scponlyc is well implemented (echo /usr/local/sbin/scponly >> /etc/shells) ant "make jail" worked perfect -> test-user is correct in /etc/passwd etc. when i give the bash to the test-user it works. so it defenitly has something to do with scponlyc.... what the hell is the problem ;-() ....

I know what WinSCP works with SCPonly shell. You may ask on their support.
_________________
Martin Prikryl
patrickr
[View user's profile]

Joined: 2006-10-25
Posts: 3
Location: Munich, Germany
thank you for your reply. ... if you know how it works why don`t you tell me the solution? did you get something wrong?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
patrickr wrote:
thank you for your reply. ... if you know how it works why don`t you tell me the solution? did you get something wrong?

Sorrz, I do known the solution.
_________________
Martin Prikryl
Raj

Guest


I get the same error when try to scp to Win2k3 server.
Can't even login.
But on solaris8 server I am able to login but cannot write to the folder. However, when using sftp both windows and solaris works fine.
Any suggestions?

Raj
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