Configure Ssh - HP NC570C User Manual

Dual-port 4x fabric adapter
Hide thumbs Also See for NC570C:
Table of Contents

Advertisement

30
login: username
Password: password
Last login: Tue Aug 31 14:52:42 from 10.10.253.115
You have new mail.
[root@qa-bc1-blade4 root]#
qa-bc1-blade4:~ # ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
0b:3e:27:86:0d:17:a6:cb:45:94:fb:f6:ff:ca:a2:00 root@qa-bc1-blade4
qa-bc1-blade4:~ #

Configure SSH

To configure SSH between two hosts so that a connection does not require a password, perform the
following steps:
1.
Log in to the host that you want to configure as the local host (hereafter, "host 1"). (The second
host serves as the remote host.)
Example
2.
Enter the ssh-keygen -t rsa command to generate a public/private RSA key pair. The CLI prompts
you for a folder in which to store the key.
Example
3.
Press the Enter key to store the key in the default directory (/root/.ssh). The CLI prompts you to
enter a password.
NOTE: Do not enter a password!
Example
4.
Press the Return key to bypass the password option. The CLI prompts you to re-enter the
password.
Example
5.
Press the Return key again (once again, omit a password). The CLI displays the fingerprint of the
host.
Example

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nc571c

Table of Contents