Black Box Advanced Console Server Manual do Utilizador Página 205

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 237
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 204
_____________________________________________________________________
724-746-5500 | blackbox.com Page 205
15.6.2 Generating Public Keys (Linux)
To generate new SSH key pairs use the Linux ssh-keygen command. This will produce an RSA or DSA
public/private key pair and you will be prompted for a path to store the two key files, for example,
id_dsa.pub (the public key) and id_dsa (the private key). For example:
$ 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 saved in /home/user/.ssh/id_[rsa|dsa].
Your public key has been saved in /home/user/.ssh/id_[rsa|dsa].pub.
The key fingerprint is:
28:aa:29:38:ba:40:f4:11:5e:3f:d4:fa:e5:36:14:d6 user@server
$
Create a new directory to store your generated keys. You can also 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:
Your identification has been saved in /home/user/keys/control_room
Your public key has been saved in /home/user/keys/control_room.pub.
The key fingerprint is:
28:aa:29:38:ba:40:f4:11:5e:3f:d4:fa:e5:36:14:d6 user@server
$
Make sure that there is no password associated with the keys. If there is a password, then the Black Box
devices will have no way to supply it as runtime.
Full documentation for the ssh-keygen command can be found at http://www.openbsd.org/cgi-
bin/man.cgi?query=ssh-keygen
15.6.3 Installing the SSH Public/Private Keys (Clustering)
For Black Box console servers, the keys can be simply uploaded through the web interface, on the
System: Administration page. This enables you to upload stored RSA or DSA Public Key pairs to the
Master and apply the Authorized key to the slave and is described in Chapter 4. Once complete, you
then proceed to Fingerprinting as described below.
Vista de página 204
1 2 ... 200 201 202 203 204 205 206 207 208 209 210 ... 236 237

Comentários a estes Manuais

Sem comentários