Open aespadaeraalei opened 3 years ago
Hello,
In documentation says users can login through SCP but using default settings or even trying to debug i couldn't get SCP to work.
At first i found a few files missing on the jail and so have give them access:
clink /etc/security/pam_env.conf /etc/security/pam_env.conf clink /etc/environment /etc/environment clink /var/run/dbus/system_bus_socket /var/run/dbus/system_bus_socket
But still doesn't work and only thing i can get from strace is:
select(7, [3 4], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28203, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 28203 wait4(-1, 0x7fffb9d61694, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigaction(SIGCHLD, NULL, {sa_handler=0x555f300fcfc0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd2f3a37400}, 8) = 0 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) select(7, [3 4], NULL, NULL, NULL^Cstrace: Process 18335 detached
Thank you
Is the SSH connection OK?
Hello,
In documentation says users can login through SCP but using default settings or even trying to debug i couldn't get SCP to work.
At first i found a few files missing on the jail and so have give them access:
clink /etc/security/pam_env.conf /etc/security/pam_env.conf clink /etc/environment /etc/environment clink /var/run/dbus/system_bus_socket /var/run/dbus/system_bus_socket
But still doesn't work and only thing i can get from strace is:
select(7, [3 4], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28203, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 28203 wait4(-1, 0x7fffb9d61694, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigaction(SIGCHLD, NULL, {sa_handler=0x555f300fcfc0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd2f3a37400}, 8) = 0 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) select(7, [3 4], NULL, NULL, NULL^Cstrace: Process 18335 detached
Thank you