Remote Backup #241
-
Hello i have tested environment to my production using this I still have this issue [2024-12-28 18:09:50] DEBUG paramiko.transport transport - _log [Thread-1]: userauth is OK Are there known compatibility issues between virtnbdbackup and specific versions of OpenSSH or Paramiko? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
not that i know of,.. does ssh [email protected] work without login, as in, public key auth?
|
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
strange, you could check with debug log mode, there it outputs the paramiko related logging for setting up the ssh session too. |
Beta Was this translation helpful? Give feedback.
-
no i don't think another key is used ssh -vvv -i /root/.ssh/id_rsa [email protected] debug1: Authentication succeeded (publickey) and when I cd to the directory for my backup can see this file |
Beta Was this translation helpful? Give feedback.
-
run virtnbdbackup with "-v" option to see the paramiko logging output. |
Beta Was this translation helpful? Give feedback.
-
already run it with --verbose and for the log from my remote server that's when I run backup command and when I run ssh -v -i /root/.ssh/id_rsa [email protected] : pam_unix(sshd:session): session opened for user root by (uid=0) the session is opened and not disconnect |
Beta Was this translation helpful? Give feedback.
-
idk sorry, you must check for what reason the ssh connection is denied, maybe run sshd on remote system in debug mode to get more info. Maybe ssh connection attempts to use some key authentication algorithms that are disabled. Its all default in paramiko, no special code in virtnbdbackup that i would know to cause such an issue Also i cant reproduce it, it works fine on all my systems (debian bookworm) involved. If executed with -v i, on my system, get an detailed information on what is going on on the paramiko layer:
i wonder why that output is missing at your system. It should clearly show more informations here. Can you connect remote sytem via virt-manager and ssh transport? What happens if you point "virsh" to the qemu+ssh uri you specified, as in:
from the remote? |
Beta Was this translation helpful? Give feedback.
-
i install libvirt client on my local machine Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands
|
Beta Was this translation helpful? Give feedback.
-
why does the system resolve to localhost.localdomain?
are you sure youre connecting to the right system here?? it seems to try to use both id_rsa and id_cdsa but fails:
I assume both keys dont have an password set? |
Beta Was this translation helpful? Give feedback.
-
Solved |
Beta Was this translation helpful? Give feedback.
why does the system resolve to localhost.localdomain?
Connecting remote system [localhost.localdomain]
are you sure youre connecting to the right system here??
it seems to try to use both id_rsa and id_cdsa but fails:
[2024-12-28 21:52:44] DEBUG paramiko.transport transport - _log [main]: Trying discovered key b'81e6b9b42d1d78740ad777be6a75da7e' in /root/.ssh/id_rsa
[2024-12-28 21:52:44] DEBUG paramiko.transport transport - _log [main]: Trying discovered key b'822f2988147ae06ae5617714967e0533' in /root/.ssh/id_ecdsa
I assume both keys dont have an password set?
Which version of virtnbdbackup are you using?