1. Задаю ключ
3-1# conf t
3-1(config)# crypto key generate ssh rsa Installing new RSA key. If the key/entropy cache is depleted, this could take up to a minute.
2. Проверяю ключь и сервер
3-1(config)# sh ip host-public-key
SSH host public key: ssh-rsa AAAAB3____10s=
3-1(config)# sh ip ssh SSH Enabled : Yes TCP Port Number : 22 Timeout (sec) : 120 Secure Copy Enabled : No
Есле сервер ssh не запущен, запускаю командой:
2-2(config)# ip ssh