Scope This document outlines how to configure the SSH cleient & daemon for NT/W2K/XP to accept public key authentication. This was done on server version SSHServerSetup312.exe This document uses version 3.2 of the client and server software from SSH.COM. | ||||||||
| ||||||||
1.0 Server | ||||||||
| ||||||||
| ||||||||
2.0 Client | ||||||||
To configure SSH for NT/W2K/XP for public key authentication
8.
Example: Upload Private Key
9. To configure the connection to use the key ensure that Public Key is first (or only mode of authentication. 10. On connection you will be prompted for passphrase. Enter the passphrase and click OK. | ||||||||
| ||||||||
3.0 CLI Configuration | ||||||||
1. Generate user public keys with the following command: Type ssh-keygen2 at command prompt 2. You will be asked to enter a passphrase in compliance with InfoSec's password policy. This will create a public and private key. NOTE: For machine automation leave passphrase blank
3. If you want to manually upload the public key (id_dsa_2048_a.pub) it goes into the Documents and Settings\username\.ssh2 directory of the SSH server
4. Add a line to the file 'authorization': in the same directory key
C:\>scp2 testfile.txt username@10.0.0.1:/
UNIX NOTE: To use Public Keys from a windows client to an open SSH server you have to copy the public key from windows host to Unix host. CD to ~/.ssh UNIX clients that are using SSH to connect to a NT/W2K/XP server SSH-KEYGEN -i -f publickeyfilename.pub >> authorized_keys2 To use Public Keys from a OpenSSH client to an windows server you have to convert the keys from OpenSSH's format. SSH-KEYGEN -e -f publickeyfilename.pub > publickeyfilename.SECSH.pub
| ||||||||
| ||||||||
Additional Resources
|
January 26, 2008
SSH Public Key
Labels:
Tools
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment