Re: ssh keys - howto?
On Fri, 24 Oct 2003, Frank Knobbe wrote: On Fri, 2003-10-24 at 17:28, [EMAIL PROTECTED] wrote: Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 web server with sshd running. I have a workstation running W2K with WinSCP3. I have tried Puttygen to create the keys and copied the key to .ssh directory on FBSD, renamed it authorized_keys but it don't work. I then ran ssh_keygen on the BSD box, but don't know what to do with the two files it created, there are no instructions about that part in the man file. Does anyone have a how-to on settup of ssh between w2k and fbsd? I'm not aware of a How-To, but you have to create the files on FBSD. No, you don't. Use puttygen to create the key (as you've done) and copy the public half of it to your FreeBSD box (as you've done). Note that puttygen itself is not sufficient; you need to let the putty session know to use your private key - there's an option somewhere on the session details. Once you've done that it should all just work. If you continue to have problems it's worthwhile looking to get putty to dump debug information as it tries to connect (again, there's an option for this somewhere IIRC). -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ New Freedom of Information Act: theirs, to yours. Happy now? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh keys - howto?
On Sun, 2003-10-26 at 05:18, Jan Grant wrote: No, you don't. Use puttygen to create the key (as you've done) and copy the public half of it to your FreeBSD box (as you've done). I was reasonable sure that I created my keys on BSD and converted the public key to Putty using an import function. However, looking at my version pf Putty Key Gen (0.53b) I do the option to create keys and export them into OpenSSH format. I guess the correct answer is: Whatever floats your boat. Create the keys where you want, just make sure you convert the public key to the format your box needs. Cheers, Frank signature.asc Description: This is a digitally signed message part
Re: ssh keys - howto?
On Fri, Oct 24, 2003 at 11:28:27PM -0500, Frank Knobbe wrote: On Fri, 2003-10-24 at 17:28, [EMAIL PROTECTED] wrote: Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 web server with sshd running. I have a workstation running W2K with WinSCP3. I have tried Puttygen to create the keys and copied the key to .ssh directory on FBSD, renamed it authorized_keys but it don't work. I then ran ssh_keygen on the BSD box, but don't know what to do with the two files it created, there are no instructions about that part in the man file. Does anyone have a how-to on settup of ssh between w2k and fbsd? I'm not aware of a How-To, but you have to create the files on FBSD. Then copy them to Putty. There should be an option in Putty to convert the OpenSSH keys to Putty keys. Once converted, they will work. See the Putty Help files of web site for more info. Yes -- the Windows SSH clients generally use the SSH2 key format from the commercial SSH corp. ssh program. The key files are stored in a different format to OpenSSH, but the keys themselves are compatible over the wire when connecting between different SSH variants. You can convert keys from commercial SSH programs to OpenSSH format using ssh-keygen(1) with the '-i' flag, or as Frank says, some of the Windows clients will accept OpenSSH format key files. 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 pgp0.pgp Description: PGP signature
Re: ssh keys - howto?
On Fri, 2003-10-24 at 17:28, [EMAIL PROTECTED] wrote: Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 web server with sshd running. I have a workstation running W2K with WinSCP3. I have tried Puttygen to create the keys and copied the key to .ssh directory on FBSD, renamed it authorized_keys but it don't work. I then ran ssh_keygen on the BSD box, but don't know what to do with the two files it created, there are no instructions about that part in the man file. Does anyone have a how-to on settup of ssh between w2k and fbsd? I'm not aware of a How-To, but you have to create the files on FBSD. Then copy them to Putty. There should be an option in Putty to convert the OpenSSH keys to Putty keys. Once converted, they will work. See the Putty Help files of web site for more info. Hope this helps, Frank signature.asc Description: This is a digitally signed message part