I'm testing an instance of CopSSH on my local machine to get ready to implement an SSH server that will allow our development team to start using Mercurial over SSH. The CopSSH control panel is a useful GUI to the SSH configuration, but it inserts a
ForceCommand directive, depending on what kind of shell access the user is given. Unfortunately, this breaks remote commands.
I can easily edit
sshd_config manually, and everything works great. But if I start up the CopSSH control panel at any time, it overwrites the config file, inserting
ForceCommand and causing problems.
Is there a way to stop the control panel from doing this? Is there a backup 'default' of
sshd_config that it uses to overwrite the current one, or is it hard coded an unchangeable?