Unable to SSH Access with key exchange

Unable to SSH Access with key exchange

Postby sormariano » Fri Dec 26, 2025 6:19 pm

Hello
I am able to access with root username and password in my Lacie Netwprk Space 2 with last firmware 18.3.
I want to use is as a backup NAS through a shell script using rsync (another problem for a my future post)-
But I'm not able to enable the SSH Access through keys:
I always have
Code: Select all
root@lacie-nas.station: Permission denied (publickey).

How can I solve this ? I used a lot of kind of generated keys but with no success.
If you need some trace or log, please ask I'll post them.
I'm trying the ssh connection both from a Linux PC and an Asustor NAS.
Thanks
sormariano
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sun Jan 23, 2022 11:50 am

Re: Unable to SSH Access with key exchange

Postby sormariano » Sat Dec 27, 2025 4:53 pm

I will try to be more detailed.

I would like to use this command to do a backup managed by cron fro my Asustor
Code: Select all
rsync -aAXvz --delete --numeric-ids /volume1/home root@lacie-nas:/share/1000/backup_asustor

In this way I can keep the user and groups ids. If I'd use rsyncd user, all the files on the Lacie will have as owner and group rsyncd:rsyncd
I am in my home network ancd I could also use a file containing the rsyncd password, if I'm not wrong, but I prefer to use keys.
But I don't understand where is my error
sormariano
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sun Jan 23, 2022 11:50 am

Re: Unable to SSH Access with key exchange

Postby Jocko » Mon Dec 29, 2025 9:40 am

sormariano wrote:Hello
I am able to access with root username and password in my Lacie Netwprk Space 2 with last firmware 18.3.
I want to use is as a backup NAS through a shell script using rsync (another problem for a my future post)-
But I'm not able to enable the SSH Access through keys:
I always have
Code: Select all
root@lacie-nas.station: Permission denied (publickey).

How can I solve this ? I used a lot of kind of generated keys but with no success.
If you need some trace or log, please ask I'll post them.
I'm trying the ssh connection both from a Linux PC and an Asustor NAS.
Thanks

Hi

You have to enable the option "SSH Access with key exchange" from SSH server

Please to notice with this mode, you can no longer use root credentials to login as by using key exchange we assume you want to open the ssh port and it is not safe to have an access from WAN with password
Jocko
Site Admin - expert
 
Posts: 11574
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 1 guest