Hi @branislav_k,
It should work without doing any extra step for the oned service. If you take a look at the oned service environment you should see something similar to the export you’re proposing:
$ cat /proc/`pgrep oned`/environ
...SSH_AUTH_SOCK=/var/run/one/ssh-agent.sock
This will make passwordles ssh work for the oned process. If you want to take advantage of the agent also when you’re logged as a oneadmin in the server terminal, you’ll need to manually export the env variable, or as you mentioned add it to the .bashrc file or similar.