On 4/21/06, <b class="gmail_sendername">Dotan Cohen</b> <<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 4/21/06, John L Vifian <<a href="mailto:jongleur@liripipe.com">jongleur@liripipe.com</a>> wrote:<br>> There's a script lussh which can pretty much set up the authentication for you<br>> which you can install via the lufs-utils package or it looks like you can
<br>> just grab the script here: <a href="http://tinyurl.com/puo4f">http://tinyurl.com/puo4f</a><br>><br>> John Vifian<br><br>Thanks, I saved the script as script.sh, did chmod +x on it, and ran<br>it for three servers. Am I to understand that for now I won't be
<br>prompted for passwords from those three servers? I did successfully<br>ssh into one of the servers, but I don't want to restart the machine<br>to check if it persists after a reboot. Does it?<br><br>Also, for backup purposes, if I save /home/user/.ssh/id_rsa.pub and
<br>/home/user/.ssh/id_rsa will I be able to put them back into those<br>places and login without a password?</blockquote><div><br>
You won't be prompted for a password unless you protected the keys with
one, in which case it acts much the same as sudo. After some expiry
period, you'd have to give it again.<br>
<br>
</div></div>Again, if your key isn't protected itself by a password,
then it will persist across reboots/sessions. If you protected the key,
the next session will prompt for the password.<br>
<br>
Yes. You can back up the keys for later use.<br>