Incoming from STEPHANE DURIEUX:
> 
> Well everything is in the title.
> I would like to use ssh in scripts so without entering
> the password.

  local_ ssh-keygen -t pick_one

When it asks for your _passphrase_, hit ENTER.  Now (assuming
"remote:~you/.ssh/" exists):

  - local_ scp ~/.ssh/id_pick_one.pub remote:~you/.ssh/

  - remote_ chmod 700 ~/.ssh

  - remote_ cat ~you/.ssh/id_pick_one.pub >> ~you/.ssh/authorized_keys

  - remote_ chmod 600 ~/.ssh/authorized_keys

Now, anyone who gets into either box can compromise all of your
accounts on local and remote with ease.  Have fun.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling      Please don't Cc: me.
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to