Configure
an SSH Communications Server to Recognize Your Public-Key File
In order to use your public key, you must transfer the public identity file (generally Identity.pub) created by the Key Generation wizard to the ~/.ssh2 folder on the SSH2 server . It is recommended that you follow the procedure below for using copy and paste to create a copy of the Identity.pub file in the ~/.ssh2 folder on the remote machine. If you decide instead to transfer the Identity.pub file to the ~/.ssh2 folder using an FTP client , be sure to transfer the file in ASCII mode. Also be sure to complete step 4-d below.
To use copy and paste to configure the SSH2 server to recognize your Identity.pub file:
1. Log on to the remote SSH2 server using SSH2 and password authentication .
2. On the local machine, use Notepad.exe to open the Identity.pub file that was created with the Key Generation wizard.
3. With the Identity.pub file opened in the Notepad application, open the Edit menu and choose Select All. Once everything is selected, open the Edit menu again and select Copy.
4. On the remote machine, complete the following steps:
a. % cat > ~/.ssh2/identity.pub
b. Click
on the SecureCRT paste button to paste the
contents of the Clipboard (which should now contain the contents of your
Identity.pub
file).
c. Issue a CTRL+D to close the Identity.pub file. Once you have typed CTRL+D, the Identity.pub file will have been created in the ~/.ssh2 folder on the remote machine.
d. % echo "Key identity.pub" >> ~/.ssh2/authorization