3.7.3 Setting an SSH Service Host Key
3.7.3 Setting an SSH Service Host Key
To enable and start using the SSH service, first generate a host key.
When using the SSH service through an XSCF-LAN connection, make a note of the fingerprint. Copy the text data of the generated host public key to a file in a given directory on the client.
When using the SSH service through an XSCF-LAN connection, make a note of the fingerprint. Copy the text data of the generated host public key to a file in a given directory on the client.
- Execute the showssh command to display the host key and fingerprint.
A host key is generated when enabling the SSH service for the first time.
XSCF> showssh SSH status: enabled RSA key: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAt0IG3wfpQnGr51znS9XtzwHcBBb/UU0LN08S ilUXE6j+avlxdY7AFqBf1wGxLF+Tx5pTa6HuZ8o8yUBbDZVJAAAAFQCfKPxarV+/ 5qzK4A43Qaigkqu/6QAAAIBMLQl22G8pwibESrh5JmOhSxpLzl3P26ksI8qPr+7B xmjLR0k= Fingerprint: 1024 e4:35:6a:45:b4:f7:e8:ce:b0:b9:82:80:2e:73:33:c4 /etc/ssh/ssh_host_rsa_key.pub |
- Execute the setssh command to generate a host key.
In the following example, a host key is generated and used to replace the existing one.
XSCF> setssh -c genhostkey Host key already exits. The key will be updated. Continue? [y|n] : y |
< Previous Page | Next Page >