您ssh 192.168.97.97
从IOS设备发出命令,并且目标IOS路由器/交换机SSH服务器接受两个SSH版本。既然您没有指定要在SSH客户端上使用的版本,哪个版本的SSH将用于连接到IOS SSH服务器?
您ssh 192.168.97.97
从IOS设备发出命令,并且目标IOS路由器/交换机SSH服务器接受两个SSH版本。既然您没有指定要在SSH客户端上使用的版本,哪个版本的SSH将用于连接到IOS SSH服务器?
Answers:
适用于IOS 12.1(19)E和更高版本的ssh版本2
SSH从一台交换机切换到另一台交换机...出于我无法解释的原因,思科将SSHv2称为SSH-1.99 ...
SRV1#debug ip ssh client
SSH Client debugging is on
SRV1#ssh 10.19.1.2
Password:
Jun 4 13:45:28.747 CDT: SSH1: sent protocol version id SSH-1.99-Cisco-1.25 <-----
Jun 4 13:45:28.787 CDT: SSH CLIENT0: protocol version id is - SSH-1.99-Cisco-1.25
Jun 4 13:45:28.787 CDT: SSH CLIENT0: sent protocol version id SSH-1.99-Cisco-1.25
连接到IOS时也从linux ...
[mpenning@something ~]$ ssh -v dst1
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to dst1 [10.19.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/mpenning/.ssh/identity type -1
debug1: identity file /home/mpenning/.ssh/id_rsa type 1
debug1: identity file /home/mpenning/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version Cisco-1.25 <-------
debug1: no match: Cisco-1.25
debug1: Enabling compatibility mode for protocol 2.0 <--------
debug1: Local version string SSH-2.0-OpenSSH_5.3