On Tue, 28 Oct 2003, Peter Ruskin wrote: > Yes I did. Now as a normal user I can ssh to another host passwordless, > then sudo passwordless and have the script do stuff as root that way - > but that's silly. But as root I'm always asked for password.
Are your home directories NFS mounted between those machines? ypbind or something for authentication? If you are, then your authorized_keys on the server end and your personal key on the client end are the same thing. So you can ssh around no problem. In order for you to ssh to a user account on a server, your public key must be in that account's authorized keys file. So, take the client account's id_rsa.pub file(located in .ssh/) and put the contents in the server root's authorized_keys file. -------Patrick M [EMAIL PROTECTED]:3784715------ Quote of the Week: "I probably won't start on the idea, and if I do it will wind up being an unfinished project on my personal website featuring pictures of my cat." rh2600 on /. -- [EMAIL PROTECTED] mailing list
