Bad Configuration Option

Noticed this one in a compromised machine by a cryptocurrency(monero) miner:

1icasimpan@example-prod:~$ scp wp.example.com-HTMLonly.tgz icasimpan@another-example.info:~/
2command-line: line 0: Bad configuration option: PermitLocalCommand
3lost connection

Fix was to remove and re-install openssh-server

1sudo apt-get remove openssh-server
2sudo apg-get install openssh-server

Details in https://stackoverflow.com/questions/16182300/scp-error-bad-configuration-option-permitlocalcommand