I want to replace #Banner none
with Banner /etc/sshd_banner
that is within /etc/sshd_config
. If I run
sudo sed -i "s/#Banner none/Banner /etc/sshd_banner" /etc/sshd_config
I get the following error
sed: 1: "/etc/sshd_config": unterminated substitute pattern
Any ideas on how to fix this issue?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…