[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] sftp closes as soon as login - missing libcrypto.so.
Re: [Jailkit-users] sftp closes as soon as login - missing libcrypto.so.6?
Wed, 25 May 2011 13:27:32 -0700 (PDT)
> When I log in via ssh and run sftp directly, it tells me there is a
> $ /usr/libexec/openssh/sftp-server
> /usr/libexec/openssh/sftp-server: error while loading shared libraries:
> libcrypto.so.6: cannot open shared object file: No such file or directory
> Also forgot to add that sftp works fine for non-jailed users.
> So the new version of openssh requires a new library perhaps? I'm
> no one else has had this problem.
> My main question is how do I get it into the jail without manually using
> jk_cp to copy it? I thought re-running jk_init would get it, but it does
> I find that libcrypt is in my jail, but not libcrypto. libcrypt itself is
> explicitly listed in jk_init.ini, so jk_init picks it up automatically I
> guess(?). But do I have to add libcrypto manually to jk_init.ini? Why?
> And how?
As a test to confirm the missing library is the problem, I copied
/lib/libcrypto.so.6 (which is actually a symlink to /lib/crypto.so.0.9.8e) into
my jail and sftp began working again.
So the question remains, why didn't jk_init get this for me? And what do I
to do to make sure that it will?