First off, yes I am root. I have another account setup without shell privileges, and without a home directory (for icecast), that now I want to be able to run a script from that uses private key based access to run an ssh script on another machine. So, if there is a shortcut to that goal, great, If not, I want to know how to allow the user icecast to have normal shell access and a home directory so I can setup private key like normal.
Here's what I'm using it for. Icecast (a live audio broadcasting server) allows me to configure a script to run whenever the source dies. I'm going to write a script that ssh's to the source and runs a script if the audio program has crashed. But since icecast has limited privileges I don't know how to setup private keys since it has no home directory and I can SU to icecast from root.
Commands should be terminal commands, as there is no GUI installed.
source
? You seem to be using it to mean both "The icecast service" and "The icecast server". What exactly is your setup? Is everything running on the same machine? Is icecast running on a different, dedicated server? You want to ssh from where to where? As who? Can't you run everything as root?