Re: ssh without password
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 06/25/04
- Next message: Morten: "Any FULLY setup-automated SSH programs out there?"
- Previous message: Bit Twister: "Re: ssh without password"
- In reply to: bmfukud: "ssh without password"
- Next in thread: Richard E. Silverman: "Re: ssh without password"
- Reply: Richard E. Silverman: "Re: ssh without password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jun 2004 02:33:38 +0000 (UTC)
bertramfukuda@yahoo.com (bmfukud) writes:
]I want to be able to ssh to a box without constantly entering my
]password. What's the best way to do this? Is there a FAQ somewhere?
Yes, itis called PubkeyAuthentication (public key authentication)
create a key on the machine you want to log on from.
ssh-keygen -t rsa
and put in a blank password.
Then copy the id_rsa.pub content to the end of .ssh/authorized_hosts on the
other machine you want to log on to.
Note that this is considered somewhat unsafe, as the private key is now not
protected by a password. This means that if someone gets root or your
priviledges on that machine they can then log onto any of the machines you
can.
HOwever once they have root or you on that machine you are pretty well
cooked anyway.
- Next message: Morten: "Any FULLY setup-automated SSH programs out there?"
- Previous message: Bit Twister: "Re: ssh without password"
- In reply to: bmfukud: "ssh without password"
- Next in thread: Richard E. Silverman: "Re: ssh without password"
- Reply: Richard E. Silverman: "Re: ssh without password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]