Solved it I think.  If I'm currently logged in as root (sudo su), I can
ssh using tc's credentials with


Code:
--------------------
    ssh -i /home/tc/.ssh/id_rsa [email protected]
--------------------


I was nearly there in the post above, but the file referenced after the
-i has to be the ir_rsa file, not id_rsa.pub

So I think this means I can set up my script so that it runs from the
command line as user tc, or from cron as user root.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113676

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to