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: Olivier Sessink
Subject: Re: [Jailkit-users] Unable to ssh in Centos8 (Connection to localhost closed.)
Date: Thu, 8 Jul 2021 22:22:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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



reply via email to

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