Remote Destinations Backup - 2.0.3

I recently updated the version of Cyberpanel to 2.0.3 and found a possible bug in the system of remote destinations for Backup, simply the destinations previously registered before disappeared, I tried to add and presented an error of execution of the command.

Host IP-SERVER not found in /root/.ssh/known_hosts
End Of File (EOF). Exception style platform.

command: /bin/ssh
args: [’/bin/ssh’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-p’, ‘PORT-SERVER’, ‘root@IP-SERVER’, ‘mkdir ~/.ssh || rm -f ~/.ssh/temp && rm -f ~/.ssh/authorized_temp && cp ~/.ssh/authorized_keys ~/.ssh/temp || chmod 700 ~/.ssh || chmod g-w ~’]
buffer (last 100 chars): b’’
before (last 100 chars): b’mkdir: \xc3\xa9 imposs\xc3\xadvel criar o diret\xc3\xb3rio \xe2\x80\x9c/root/.ssh\xe2\x80\x9d: Arquivo existe\r

after:
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 123392
child_fd: 8
closed: False
timeout: 3
delimiter:
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile(b’password:’)
1: re.compile(b’Password:’)
2: re.compile(b’Permission denied’)

Would anyone know if this is really a bug and if it is known how to solve it?

1 Like

Any news on this?

Current version is 2.3.2
Try updating to this version and see if that solves the issues.

Did that in almalinux, still the same error.

I have same problem. I have tried SFTP to two or three different locations and same error.

I got my borg backup using SFTP also and it can connect just fine.

My error:

Host *************.your-storagebox.de found: line 7

/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
End Of File (EOF). Exception style platform.

command: /usr/bin/ssh
args: [‘/usr/bin/ssh’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-p’, ‘22’, ‘@.your-storagebox.de’, ‘mkdir ~/.ssh || rm -f ~/.ssh/temp && rm -f ~/.ssh/authorized_temp && cp ~/.ssh/authorized_keys ~/.ssh/temp || chmod 700 ~/.ssh || chmod g-w ~’]
buffer (last 100 chars): b’’
before (last 100 chars): b"‘*************.your-storagebox.de’ (RSA) to the list of known hosts.\r\r\nexec request failed on channel 0\r\r\n"
after:
match: None
match_index: None
exitstatus: 255
flag_eof: True
pid: 593231
child_fd: 5
closed: False
timeout: 3
delimiter:
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile(b’password:‘)
1: re.compile(b’Password:’)
2: re.compile(b’Permission denied’)
3: re.compile(b’File exists’) [setupSSHKeys]