New answers tagged

1

No, there isn’t. The closest you’ll find that’s publicly accessible is the openssh package repository; you’ll have to choose a branch then look in the SOURCES directory, e.g. for RHEL/CentOS 8. The sshd_config file isn’t available as-is in the repository: it’s built by patching the original file from the OpenSSH sources. To build the file that’s installed ...


1

To achieve this with SSH you would need (at a minimum) to spawn a UTS and network namespace (or running the second copy of SSH on a different port). For the UTS case, there is an example in the setns syscall man page (man 2 setns - http://man7.org/linux/man-pages/man2/setns.2.html#EXAMPLE) as well as the man page for the command you used, unshare (man 1 ...


Top 50 recent answers are included