I have a debian box that I cannot scp files from.
Installing ssh again does not fix this issue
hosting:/home/gcushing# scp test.text gcushing@serenity.gwi:/home/gcushing
command-line: line 0: Bad configuration option: PermitLocalCommand
lost connection
I have added and removed PermitLocalCommand from /etc/ssh/ssh config
FYI, /usr/bin/ssh is the odd one out:
xach@hosting:/$ grep '\(ssh\|scp\)$' /var/lib/dpkg/info/openssh-client.md5sums
ef75badecd778d4c91d8679c63a7512c usr/bin/ssh
53adbbcc6ae2d03c145e94bef36cbc98 usr/bin/scp
xach@hosting:/$ md5sum usr/bin/ssh /usr/bin/scp
c5022a79360ae8d32051ec2cd23ced25 usr/bin/ssh
53adbbcc6ae2d03c145e94bef36cbc98 /usr/bin/scp