Topic: sftp connection problems

Hi all,

I have a problem with one of my production servers.
That Provide sftp service in my organisation using MySecureShell to jail the users to there home dir.
I have a problem when the users trying to login to the server via WinSFTP, in the first login the user get error and it disconnect,
when he reconnect the session he able to login.

I get those error in the client side
The users use WinSFTP v4.2.7
Connection has been unexpectedly closed. Server sent command exit status 128
Cannot initialize SFTP protocol. Is the host running a SFTP server?

Server Side I use
Red Hat Enterprise Linux Server release 5.5
openssh/ssl openssl-0.9.8e-12 and openssh-clients-4.3p2 openssh-server-4.3p2.
Im using mysecureshell-1.0-2
and I don't have problem to connect to the server via SSH or sftp with out mysecureshell.

User Example
malcdms:x:1524:1534::/export/interfaces/RND/CDMS/Mal:/bin/MySecureShell

Any idea what cause this problem and how can I solve it?

Thanks in advance

Re: sftp connection problems

Hi,

Please use latest version of MySecureShell (v1.20)

New version are less buggy and more stable smile

Re: sftp connection problems

Hi and thanks for reply

I have tried to install the new version of mysecureshell and I got some error.
1. when i try to download the rpm I get message 404 not found.
2. I have download the "tar.gz" file to try to compile it, but when I run the "make command" I get this message

[root@xxxxxmysecureshell_1.20]# make
make: *** No targets specified and no makefile found.  Stop.

3. I have added to my yum your configuration to do download auto but again I get those errors
Resolving Dependencies
--> Running transaction check
---> Package mysecureshell.x86_64 0:1.20-1 set to be updated
--> Processing Dependency: libcrypto.so.10()(64bit) for package: mysecureshell
--> Finished Dependency Resolution
mysecureshell-1.20-1.x86_64 from mysecureshell has depsolving problems
  --> Missing Dependency: libcrypto.so.10()(64bit) is needed by package mysecureshell-1.20-1.x86_64 (mysecureshell)
Error: Missing Dependency: libcrypto.so.10()(64bit) is needed by package mysecureshell-1.20-1.x86_64 (mysecureshell)

the libcrypto.so.10 file is part of openssl-1.0.0-5.fc14.i686.rpm and redhat didn't approved it yet in my release.
Im using Red Hat Enterprise Linux Server release 5.5 os

have any suggestions for the installation?

Thanks

Re: sftp connection problems

Hi,

mfinkelstine wrote:

Hi and thanks for reply
2. I have download the "tar.gz" file to try to compile it, but when I run the "make command" I get this message

[root@xxxxxmysecureshell_1.20]# make
make: *** No targets specified and no makefile found.  Stop.

Please run "./configure" before launching "make" smile

mfinkelstine wrote:

3. I have added to my yum your configuration to do download auto but again I get those errors
Resolving Dependencies
--> Running transaction check
---> Package mysecureshell.x86_64 0:1.20-1 set to be updated
--> Processing Dependency: libcrypto.so.10()(64bit) for package: mysecureshell
--> Finished Dependency Resolution
mysecureshell-1.20-1.x86_64 from mysecureshell has depsolving problems
  --> Missing Dependency: libcrypto.so.10()(64bit) is needed by package mysecureshell-1.20-1.x86_64 (mysecureshell)
Error: Missing Dependency: libcrypto.so.10()(64bit) is needed by package mysecureshell-1.20-1.x86_64 (mysecureshell)

the libcrypto.so.10 file is part of openssl-1.0.0-5.fc14.i686.rpm and redhat didn't approved it yet in my release.
Im using Red Hat Enterprise Linux Server release 5.5 os

have any suggestions for the installation?

Thanks

At this time, the RPM is build for Fedora 12 and do not satisfy RHEL dependencies...

Re: sftp connection problems

Hi Teka

Thanks for replying.

Yes I have forgot to run the "./configure" my bad  sad

I'm checking it right now and let you know if the problem have been solve.


Meir

Re: sftp connection problems

Thanks smile