corin.corvus
Dabbler
- Joined
- Oct 21, 2022
- Messages
- 23
Hi,
at the moment i try to build a backup replication between my Truenas Scale Server and my old Qnap 4bay T431.
So i create backup credentials with a SSH Keypair, generate the Keypair on the Truenas and downloaded it. This are txt files. On my Qnap NAS i can import TLS Certificates, but the certificate is not supported. i tried txt and pem. So i login in the shell of qnap and add the file authorized_keys in /etc/config/ssh folder and to be save in the .ssh folder of the admin user i use to login and want to use for replication, add the Public Key and restart the system. It dont work.
I already tried the other way with a shell created keypair on the qnap nas, but it wont work.
Every time i get an authentication failure.
I only can connect via password over shell on truenas to the qnap nas.
Did anyone solve similar like this?
Thanks
Sources:
Qnap Tutorial: https://wiki.qnap.com/wiki/SSH:_How_To_Set_Up_Authorized_Keys
Truenas Tutorial: https://www.truenas.com/docs//core/uireference/system/sshkeypairs/
at the moment i try to build a backup replication between my Truenas Scale Server and my old Qnap 4bay T431.
So i create backup credentials with a SSH Keypair, generate the Keypair on the Truenas and downloaded it. This are txt files. On my Qnap NAS i can import TLS Certificates, but the certificate is not supported. i tried txt and pem. So i login in the shell of qnap and add the file authorized_keys in /etc/config/ssh folder and to be save in the .ssh folder of the admin user i use to login and want to use for replication, add the Public Key and restart the system. It dont work.
I already tried the other way with a shell created keypair on the qnap nas, but it wont work.
Every time i get an authentication failure.
I only can connect via password over shell on truenas to the qnap nas.
Did anyone solve similar like this?
Thanks
Sources:
Qnap Tutorial: https://wiki.qnap.com/wiki/SSH:_How_To_Set_Up_Authorized_Keys
Truenas Tutorial: https://www.truenas.com/docs//core/uireference/system/sshkeypairs/