指令
switch#conf t
switch#crypto key zeroize
switch#crypto key generate rsa general-keys modulus 2048
switch#end
switch#wr
連線時出現的錯誤訊息
Unable to negotiate with 192.168.0.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
修改後的連線方式
ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -c aes256-cbc user@192.168.0.1