Datasheet

www.myelux.com eLux
®
NG
Build # 27 170
To connect using password authorization, open a session and enter the password. In the
future, you must enter this password every time you connect to the server.
Public Key Authorization
SSH server settings determine the type of authorization (password or key) needed to connect.
The authentication type – RSA or DSA – required to start a session is configured on the
server. Older server support RSA version 1. Newer servers support RSA version 1 and in
addition RSA version 2 and DSA version 2.
Each user uses the program ssh-keygen to generate a public/private key pair. The key pair is
generated locally. The public key (*.pub) must be transferred to the server that the user will log
on to. The server knows the public key, however only the user knows the private key. This is
typical asymmetrical encryption.
To connect using a public key
1. Open a local shell and type:
ssh-keygen –t <authentication type>
where <authentication type> =
rsa1 : generates the protocol for version 1 RSA public authentication key
rsa : generates the protocol for version 2 RSA public authentication key
dsa : generates the protocol for version 2 DSA public authentication key
2. At the “where to locate the files” prompt, press ENTER.
3. At the passphrase prompt,
Enter a passphrase to enter this phrase every time you establish a connection to
the server.
Press ENTER to avoid having to enter a passphrase in the future.
4. The program generates the keys using the authentication parameter entered in step 1
and saves them to the following directory:
rsa1 (version 1 RSA) : /setup/ssh/identity
/setup/ssh/identity.pub
rsa (version 2 RSA) : /setup/ssh/id_rsa
/setup/ssh/id_rsa.pub
dsa (version 2 DSA) : /setup/ssh/id_dsa
/setup/ssh/id_dsa.pub
5. The contents of the public key file (*.pub) should be entered in the file
$HOME/.ssh/authorized_keys on all SSH servers the user is allowed to log on to
using the public key (where $HOME is the user’s home directory).
If you know which authentication type your server uses, you can create a single authentication
key pair. However, if you do know the authentication type, all is not lost – run the program ssh-
keygen three times using the three different authentication parameters. You will then have
three key pairs for all three authentication types. Save all three public keys to
$HOME/.ssh/authorized_keys, as in step 5. Enter one key per line. The keys that are not
needed will be ignored.
For more information on SSH server configuration, ask the system administrator of the remote
host.