NI Linux Real-Time Discussions

Showing results for 
Search instead for 
Did you mean: 

Can I use RSA authentication with NI-Auth?

Go to solution

I'm writing some backup/restore scripts for my cRIO. I want to get rid of all the ssh/scp password prompts in the scripts, but that requires generating an RSA key pair and adding it to ssh-agent. I think NI replaced ssh-agent with niauth_daemon. How do I use RSA keys with it?

0 Kudos
Message 1 of 3
Accepted by topic author Staab_Engineering

You can still use pubkey authentication in the normal ways (for example drop your key into ~/.ssh/authorized_keys). NI Auth only affects password-based authentication.

0 Kudos
Message 2 of 3

What is that mysterious NI-Auth exactly for ? 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 3 of 3