This is my problem.
I'm making a menu for our system operators to stop/start some java applications. The problem is the java applications can only be stopped/start using the root account. So I tried to use ssh -l root <server> <command> on the script that the menu calls, but the system asks for the root password. I already created the authorized_keys for root account and placed it on the home directory of root on the server; in this case /root/.ssh/authorized_keys. But I just can't ssh as root to the server. Can anyone tell me what I'm doing wrong.
To be clear on this,
I am sysops account logged in to server x and I am going to ssh -l root server x <command>
Thanks in advance.