[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: ssh-keygen (SOLVED)



It seems that the difference in package really did matter.

apt-cache policy libssl0.9.8
libssl0.9.8:
 Installed: 0.9.8c-4
 Candidate: 0.9.8c-4etch3
 Version table:
    0.9.8c-4etch3 0
       500 http://debian.savoirfairelinux.net stable/main Packages
       500 http://security.debian.org stable/updates/main Packages
*** 0.9.8c-4 0
       100 /var/lib/dpkg/status

Does anyone knows how to explain this. I'm pretty new to debian and particulary linux. Thanks!

Chris Davies wrote:
Bob Cox <debian-user@lists.bobcox.com> wrote:
This is how I do it when setting up a new machine:
ssh-keygen -t dsa
<enter, enter, enter>
cat ~/.ssh/id_dsa.pub | ssh me@otherhost 'cat >> .ssh/authorized_keys2'
<enter password>

Mmm. Interesting as I find authorized_keys works for me (none of my
Debian systems claims to understand your ssh2 variant).

ssh-keygen -t rsa	# Does anyone know whether dsa or rsa is better?
...
ssh me@rhost 'mkdir -pm 700 .ssh;cat>>.ssh/authorized_keys' <.ssh/id_rsa.pub

Actually I have a little script that does this for me (ssh-auth) that I
really ought to get round to offering to the ssh client distribution.
It's at http://www.roaima.co.uk/stuff/20080819/ssh-auth if anyone's
interested in critiquing it first.

Chris




Reply to: