jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Unable to ssh in Centos8 (Connection to localhost cl


From: Andres
Subject: Re: [Jailkit-users] Unable to ssh in Centos8 (Connection to localhost closed.)
Date: Fri, 9 Jul 2021 14:28:45 -0300

Great Olivier !!

I think that it was something about updates of Centos 8 .

I appreciate your help and also for your ultra fast answer !!

Now  I have jailkit again working !!

Thanks a million Olivier.-




El jue, 8 de jul. de 2021 a la(s) 17:27, Olivier Sessink (olivier@bluefish.openoffice.nl) escribió:
On 08-07-2021 21:51, Andres wrote:

[root@localhost jail]# cat /var/log/messages
Jul  8 15:14:32 localhost systemd[1]: Started Session 46 of user test.
Jul  8 15:14:32 localhost systemd-logind[881]: New session 46 of user test.
Jul  8 15:14:32 localhost jk_chrootsh[4088]: now entering jail /home/jail for user test (1000) with arguments
Jul  8 15:14:32 localhost systemd[1]: session-46.scope: Succeeded.
Jul  8 15:14:32 localhost systemd-logind[881]: Session 46 logged out. Waitingq for processes to exit.
Jul  8 15:14:32 localhost systemd-logind[881]: Removed session 46.

your missing all the logging inside the jail. Either start jk_socketd or change your syslog config to accept logging from inside the jail. That way you will get a helpful message why jk_lsh quits.

in your config files I see both /use/bin/bash and /bin/bash, where is it inside jail?

Olivier


_______________________________________________
Jailkit-users mailing list
Jailkit-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/jailkit-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]