Tripp Lite B092-016 Owner's Manual Page 203

  • Download
  • Add to my manuals
  • Print
  • Page
    / 242
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 202
203
Generated keys may be one of two ty
pes
-
RSA or DSA (and it is beyond
the scope of t
his
document
to recommend one over the other
)
.
RSA keys will go into the files
id_rsa
and
id_rsa.pub
.
DSA keys will be stored in the files
id
_dsa
and
id_dsa.pub
.
For
simplicity going forward
,
the
term
private key
will be used to refer
to either
id_rsa
or
id_dsa
and
public key
to refer
to either
id_rsa.pub
or
id_dsa.pub.
To generate the keys using Open
BSD's OpenSSH suite, we use the
ssh
-
keyg
en
program:
$ ssh
-
keygen
-
t [rsa|dsa]
Generating public/private [rsa|dsa] key pair.
Enter file in which to save the key
(/home/user/.ssh/id_[rsa|dsa]):
Enter
passphrase
(empty for no passphrase):
Enter same passphrase again:
Your identification has been s
aved in
/home/user/.ssh/id_[rsa|dsa].
Your public key has been saved in
/home/user/.ssh/id_[rsa|dsa].pub.
Th
e key fingerprint is:
28:aa:29:38:ba:40:f4:11:5e:3f:d4:fa:e5:36:14:d6 user@server
$
I
t is advisable to create a new directory to store your gene
rated
keys.
It is also possible to name
the files after
the device they will
be used for
.
For example:
$ mkdir keys
$ ssh
-
keygen
-
t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):
/home/user/
keys/control_room
Enter
passphrase
(empty for no passphrase):
Enter same
passphrase
again:
Page view 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 241 242

Comments to this Manuals

No comments