On Mon, Jun 07, 2004 at 02:31:43PM -0400, Bart Silverstrim wrote: > While the server I want to copy FROM is apparently running > sshd2: SSH Secure Shell 3.2.3 (non-commercial version) on > i686-pc-linux-gnu > > I have created the pub key on the FreeBSD system with > ssh-keygen -t dsa > then copied the resulting .pub file to the other server with the name > ~/.ssh/authorized_keys and ~/.ssh/authorized_keys2. Neither one seems > to work, and I don't see errors being generated in the logs.
Yes -- the public keys generated by OpenSSH and SSH Corp versions of ssh(1) are in different formats. You can use ssh-keygen(1) to convert a public key produced by the SSH Corp product into a format the OpenSSH can cope with: % ssh-keygen -i -f ssh-corp-key.pub > openssh-key.pub Or you can got the other way round: % ssh-keygen -e -f openssh-key.pub > ssh-corp-key.pub ('i' is for import, 'e' is for export). You want to do the second, and then copy the transformed public key into the authorized_keys file on the target host. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgpXNSXQuoADt.pgp
Description: PGP signature