国产成人精品18p,天天干成人网,无码专区狠狠躁天天躁,美女脱精光隐私扒开免费观看

cisco SSH配置

發(fā)布時(shí)間:2021-08-02 22:46 來(lái)源:網(wǎng)絡(luò )整理 閱讀:94 作者:sheriper 欄目: Mysql 歡迎投稿:712375056




crypto key generate rsa   建立ssl/' target='_blank'>數字證書(shū)。使用至少768位的Diffie-Hellman關(guān)鍵字  

set ip enable  

Password:


The name for the keys will be: R2.cisco.com
因為在R2上沒(méi)有配置enable password/secret xxxx
注:添加一個(gè)用戶(hù):best,口令:best1
Router#configure terminal

 

在 Cisco Catalyst OS上啟用SSH,禁止Telnet  
那么在R1上:


Ok實(shí)驗完成!

aaa authentication login default local  
aaa new-model   使用一個(gè)本地數據,設置為AAA模式  

 

如果要把重試次數改成5次,則應該用:
Router(config)#hostname R2 //配置ssh的時(shí)候路由器的名字不能為router
How many bits in the modulus [512]: 注:選擇加密位數,cisco推薦使用1024
R2(config)#line vty 0 4
transport input ssh   僅僅允許SSH登錄  
R1#ssh -l best 192.168.0.2


Password:
現在SSH服務(wù)已經(jīng)啟動(dòng),如果需要停止SSH服務(wù),用以下命令:




R2(config)#crypto key zeroize rsa

R1#ssh -l best 192.168.0.2
Generating RSA keys ...
交換引擎session!)
Authentication timeout: 120 secs; Authentication retries:
R2(config)#ip domain-name cisco.com   //配置SSH必需  

注意:最后如果從別的設備用ssh登錄這臺路由器會(huì )出現以下內容:

aaa session-id common  
General Purpose Keys. Choosing a key modulus greater than 512 may take

如果要把超時(shí)限定改為180秒,則應該用:
R2(config)#ip ssh {[time-out seconds]} │ [authentication-retries interger]}
用命令show ip ssh也能看到:
命令   描述  


免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng )、來(lái)自本網(wǎng)站內容采集于網(wǎng)絡(luò )互聯(lián)網(wǎng)轉載等其它媒體和分享為主,內容觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如侵犯了原作者的版權,請告知一經(jīng)查實(shí),將立刻刪除涉嫌侵權內容,聯(lián)系我們QQ:712375056,同時(shí)歡迎投稿傳遞力量。

日本无遮挡边做边爱边摸| 在线天堂资源WWW在线污| 久久棈精品久久久久久噜噜| 亚洲国产精品一区二区成人片国内 | 国产欧美日韩一区二区三区| 国产AⅤ夜夜欢一区二区三区|