OPNsense Forum

English Forums => General Discussion => Topic started by: klausagnoletti on February 04, 2022, 09:02:53 am

Title: Persistent ssh key login?
Post by: klausagnoletti on February 04, 2022, 09:02:53 am
I guess this is unrelated to which version of OPNsense but I want to know how I can ssh using ssh key to OPNSense in a persistent way.

When I copy the public key via ssh-copy-id it stops working at some point; sometimes after an upgrade - other times right away. And I simply don't get it.

What do I do?

Thanks

/klaus
Title: Re: Persistent ssh key login?
Post by: franco on February 04, 2022, 09:04:37 am
Hi Klaus,

Under System: Access: Users: [your user] you can add keys via "Authorized keys".


Cheers,
Franco
Title: Re: Persistent ssh key login?
Post by: klausagnoletti on February 05, 2022, 05:44:30 pm
Hey Franco

Great - thanks a lot!

/k