|
Creating Keys
To set up public-key authentication for the SSHSP , you have to do the
following steps as a UID 0 user:
- Create the keys by running
ssh-keygen-g3 under USS.
For example:
# ssh-keygen-g3 -t rsa key1
The command will create a 2048-bit RSA key, with the private-key file name
key1 and public-key file name key1.pub .
Enter the passphrase for the key when prompted. The key can be generated without
a passphrase by giving the -P option.
For more information on the ssh-keygen-g3 options, see the
ssh-keygen-g3 man page.
- Copy the keys to the
.ssh2 directory under the SSHSP
user's home directory. For example:
# cp key1 /u/SSHSP/.ssh2
# cp key1.pub /u/SSHSP/.ssh2
- Change the owner and permissions of the keys with the
chown and
chmod commands. For example:
# chown SSHSP /u/SSHSP/.ssh2/key1
# chown SSHSP /u/SSHSP/.ssh2/key1.pub
# chmod 600 /u/SSHSP/.ssh2/key1
# chmod 600 /u/SSHSP/.ssh2/key1.pub
[Contents]
[Index]
[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]
Copyright © 2011 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice
|
|
|