Bad configuration option: PermitLocalCommand [SOLVED]

7 posts / 0 new
Last post
#1 Tue, 08/09/2016 - 13:12
briand

Bad configuration option: PermitLocalCommand [SOLVED]

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.
Tue, 08/09/2016 - 21:51
Joe
Joe's picture

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!

Wed, 08/10/2016 - 15:03
briand

thanks Joe, in process of getting new server setup.

Fri, 08/12/2016 - 16:12
briand

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 :) )

Sun, 08/14/2016 - 12:13
briand

is this folder valid on server ?

/usr/libexec/webmin/filemin/unauthenticated/js/lib/codemirror/theme/

Wed, 12/28/2016 - 14:33
briand

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

Tue, 01/03/2017 - 18:11
briand

I solved this problem as discussed in my other thread https://www.virtualmin.com/node/44258

Topic locked