交换机如何使用ssh方式连接

如题所述

1、首先打开控制软件xshell5,点击【文件】菜单。

2、然后在下拉菜单里点击【新建】选项。

3、在连接中输入服务器IP地址,协议是SSH,端口是22,点击【用户身份验证】。

4、输入服务器登录帐号和密码,点击【确定】。

5、然后需要点击【连接】选项。

6、然后界面就会显示连接成功。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2019-07-22

1、打开xshell5,点击【文件】菜单。

2、接下来开始点击【新建】。

3、在连接中输入服务器IP地址,协议是SSH,端口是22,然后点击【用户身份验证】。

4、输入服务器登录帐号和密码,然后点击【确定】。

5、点击【连接】。

6、接下来表示连接成功。

本回答被网友采纳
第2个回答  2018-05-29
<Huawei>sys
[Huawei]undo info en
Info: Information center is disabled.
[Huawei]sysname sw1
[sw1]user-interface vty 0 4
[sw1-ui-vty0-4]authentication-mode aaa
[sw1-ui-vty0-4]protocol inbound ssh
[sw1-ui-vty0-4]q

[sw1]aaa
[sw1-aaa]local-user haha password simple kkk
Info: Add a new user.
[sw1-aaa]local-user haha service-type ssh
[sw1-aaa]local-user haha privilege level 3
[sw1-aaa]q
   
[sw1]ssh user haha authentication-type password
Info: Succeeded in adding a new SSH user.
[sw1]ssh user haha service-type stelnet 
[sw1]stelnet server enable
Info: Succeeded in starting the Stelnet server.     
[sw1]rsa local-key-pair create
The key name will be: sw1_Host
The range of public key size is (512 ~ 2048). 
NOTES: If the key modulus is greater than 512, 
       it will take a few minutes.
Input the bits in the modulus[default = 512]:512
Generating keys...
..++++++++++++
......++++++++++++
.............................................++++++++
...........++++++++
 

[sw1]interface vlanif 1
[sw1-Vlanif1]ip address 192.168.1.1 24


在电脑上用PuTTY等客户端登录即可。

相似回答