On Mon, Jun 12, 2000 at 08:21:12PM +0200, Eilert Brinkmann wrote:
Bill Moseley
wrote: Yes I did enter a pass phrase when creating with ssh-keygen. I guess I'm not clear how to resolve this -- that is keep it from asking each time.
You can change the pass phrase of your private key with `ssh-keygen -p'. When you change it to the empty string, you will not be asked for a pass phrase in the future.
To access from machine to machine, you need to start a session with ssh-agent. For example, in scripts or crons: * * * * * ssh-agent script_name and in the script: #!/bin/bash echo password | ssh-add -p blah blah... h-add puts the password where the session can read it. To use bash as a shell with the password available to the session, do this: h-agent bash In the new shell: h-add [enter] You'll be prompted for your password. From there you'll be able to log into any machine that has your public key on board. -- Brad Shelton On Line Exchange http://online-isp.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/