Client rsa keys vanish after rebooting NAS

Client rsa keys vanish after rebooting NAS

Postby jpcozar » Wed Aug 24, 2016 7:12 am

Hi,
Usually, I use ssh to admin the NAS, but client rsa/dsa keys are used too for automatic monitoring NAS through check_by_ssh (Nagios).
Everything is working fine but after every reboot, Client rsa keys vanish in web interface, and today I relized that file /.ssh/authorized_keys, where public keys are stored, is renamed to /.ssh/autorhized_keys_disable after reboot. So I have to rename it again or copy .pub keys again what it is a pain in the ass.
Why is that behaviour with authorized_keys in reboot?

Thanks in advance!
jpcozar
 
Posts: 8
Joined: Sat Aug 15, 2015 11:02 am

Re: Client rsa keys vanish after rebooting NAS

Postby Jocko » Wed Aug 24, 2016 6:37 pm

Instead of to change directly some files, use the related ssh menu on the web interface !

Read the help pages : enable the rsa key mode and import your public client rsa key from the ssh page.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Client rsa keys vanish after rebooting NAS

Postby jpcozar » Thu Aug 25, 2016 7:42 am

Understood but I am used to console lol. Anyway, I think that it's not a good thing to be mutually-exclusive: ssh with passphrase or ssh with rsa keys.
I use ssh with a passphrase when I want to admin NAS (manually task) and ssh with rsa keys with automated tasks (by example for monitoring NAS: space, ping and so, rsync and so).
This way both behaviours at the same time are not possible.
Thank you for your help, Jocko
jpcozar
 
Posts: 8
Joined: Sat Aug 15, 2015 11:02 am


Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 5 guests