Cisco Preparative Procedures & Operational User Guide
© 2016 Cisco Systems, Inc. All rights reserved.
4.3.3 Generate the SSH Host Key
1) From the FXOS CLI, enter the services mode:
scope system
scope services
2) Delete the SSH Host key:
delete ssh-server host-key
3) Commit the configuration:
commit-buffer
4) Set the SSH Host Key size to 2048 bits:
set ssh-server host-key rsa 2048
5) Commit the configuration:
commit-buffer
6) Create a new SSH host-key:
create ssh-server host-key
commit-buffer
7) Confirm the new Host Key size:
show ssh-server host-key
Host Key Size: 2048