1.创建账号并制定类型

aaa

local-user hello password cipher xxxxxxxxxxxxxxxxx

local-user hello privilee level 15

local-user hello sevice-type ssh

2.生成RSA秘钥

rsa local-key-pair create

1024

3.启用服务

stelnet server enable

ssh user hello auth*type password

4.配置vty

user-inteface vty 0 4

authentication-mode aaa

protocol inbound ssh