[ale] ssh authorized_keys2, what am I missing?

Chris Ricker kaboom at oobleck.net
Fri Jun 10 07:26:18 EDT 2005


On Thu, 9 Jun 2005, James P. Kinney III wrote:

> Hmm. The more I think about it, it's a bug in keygen. If the default
> form produces keys/directory with 660 perms, that is just plain wrong.
> keygen is supposed to be a support tool for ssh so it should function
> properly.

The more I think about it, it's not a problem and hasn't been for a 
long time ;-)

[kaboom at scrap kaboom]$ cd .ssh/
[kaboom at scrap .ssh]$ ls -l
total 4
-rw-r--r--    1 kaboom   kaboom        219 Jun 10 07:24 known_hosts
[kaboom at scrap .ssh]$ umask
0002
[kaboom at scrap .ssh]$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/kaboom/.ssh/id_dsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/kaboom/.ssh/id_dsa.
Your public key has been saved in /home/kaboom/.ssh/id_dsa.pub.
The key fingerprint is:
97:93:a2:ce:23:36:b1:bc:ff:b3:a2:70:84:ff:fd:61 kaboom at scrap.knology.com
[kaboom at scrap .ssh]$ ls -l
total 12
-rw-------    1 kaboom   kaboom        736 Jun 10 07:24 id_dsa
-rw-r--r--    1 kaboom   kaboom        618 Jun 10 07:24 id_dsa.pub
-rw-r--r--    1 kaboom   kaboom        219 Jun 10 07:24 known_hosts
[kaboom at scrap .ssh]$ uname -a
Linux scrap.oobleck.net 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:25:44 
EST 2005 x86_64 x86_64 x86_64 GNU/Linux
[kaboom at scrap .ssh]$ cat /etc/redhat-release 
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
[kaboom at scrap .ssh]$ 

later,
chris



More information about the Ale mailing list