Is it possible to give a script a user with whom it then runs?
I set up SSH with Keys to not need a password for ssh-exec.
In addition, I equipped a local user with the Priv key (I log in via Radius) and, logged in as this user, everything works great on the shell too.
But if I now write a script with which the user is logged in via Radius, the SSH login via the scripts no longer works
![Sad :(](./images/smilies/icon_sad.gif)
What can I do here?