updated sshd section
This commit is contained in:
parent
9c24f3496e
commit
a5ebaa66cf
@ -81,12 +81,12 @@ cp -f config/etc/systemd/timesyncd.conf /etc/systemd/timesyncd.conf
|
|||||||
|
|
||||||
|
|
||||||
## copy sshd configuration
|
## copy sshd configuration
|
||||||
echo -e "\ncopying sshd configuration..."
|
echo -e "\ncopying ${yellow}sshd_config${norm} to ${yellow}/etc/ssh/sshd_config${norm}"
|
||||||
# backup
|
# backup
|
||||||
cp -f /etc/ssh/sshd_config /etc/ssh/sshd_config.original
|
cp -f /etc/ssh/sshd_config /etc/ssh/sshd_config.original
|
||||||
# copy new
|
# copy new
|
||||||
cp -f config/etc/ssh/sshd_config /etc/ssh/sshd_config
|
cp -f config/etc/ssh/sshd_config /etc/ssh/sshd_config
|
||||||
echo "...done"
|
|
||||||
|
|
||||||
### Exit gracefully
|
### Exit gracefully
|
||||||
echo -e "\n${ok}All done!${norm}\n"
|
echo -e "\n${ok}All done!${norm}\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user