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?