These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Bad configuration option: PermitLocalCommand [SOLVED] on the new forum.
Hi got a problem trying to replicate. has been fine up to now though a recenthack has caused some issues. just wanting to to backup some sites to cloudmin backup server before rebauilding, but get this error: I'm sure this will be in an obvious place :o) thanks Brian
Refreshing domains on source system .. .. done Creating temporary directories .. .. done Backing up 1 virtual servers on source system .. .. created backup of 6.96 GB Transferring backups to destination systems .. .. 0 transfers succeeded, 1 failed Failed to transfer command-line: line 0: Bad configuration option: PermitLocalCommand lost connection to : domain.com Restoring backups on destination systems .. .. done Replication failed - see the output above for the reason why.
This error indicates you've got a malware infected version of SSH on one side or the other.
http://stackoverflow.com/questions/16182300/scp-error-bad-configuration-...
You may be able to reinstall the openssh packages, in order to get your backups to work; you could also transfer them backups in some other way (maybe FTP, maybe dumping them to S3, or making a backup to a USB disk, if you have physical access to the hardware).
--
Check out the forum guidelines!
thanks Joe, in process of getting new server setup.
tried this, but no success at the moment to sort the PortLocalCommand problem, but I'll con tinue to look intop it as it would be good to see what the problem was
I have access so can do backups other ways. (although thi sone is my backup server anyway :) )
is this folder valid on server ?
/usr/libexec/webmin/filemin/unauthenticated/js/lib/codemirror/theme/
I setup a new server but had a problem accessing it. however, I can now access new server but still getting cloudmin replication problem
Failed to transfer command-line: line 0: Bad configuration option: PermitLocalCommand lost connection to : domain.net so this must be a problem with the original server. hopefully it will help me identify the problem
I solved this problem as discussed in my other thread https://www.virtualmin.com/node/44258