Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8e7c0019 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: stretch+ re-enable banner, as it works...


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent d10be586
Branches
Tags
No related merge requests found
...@@ -737,7 +737,7 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__ ...@@ -737,7 +737,7 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__
if [ ! "x${rfs_ssh_banner}" = "x" ] || [ ! "x${rfs_ssh_user_pass}" = "x" ] ; then if [ ! "x${rfs_ssh_banner}" = "x" ] || [ ! "x${rfs_ssh_user_pass}" = "x" ] ; then
if [ -f /etc/ssh/sshd_config ] ; then if [ -f /etc/ssh/sshd_config ] ; then
sed -i -e 's:#Banner:Banner:g' /etc/ssh/sshd_config sed -i -e 's:#Banner none:Banner /etc/issue.net:g' /etc/ssh/sshd_config
fi fi
fi fi
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment