xshell接続カーリー

設定ファイルを変更するには1

1 VIの/ etc / SSH / sshd_configの
 2  
3。  たPasswordAuthentication無#を除去せず、デフォルトの変更なしでYES //カリはい
。4  
。5のPermitRootLogin prohibit- パスワード下段増加
 。6  
。7のPermitRootLoginはい

 

2再起動

/etc/init.d/ssh restart 

 

3ビューステータス

/etc/init.d/ssh状況

 

おすすめ

転載: www.cnblogs.com/lanyincao/p/11491413.html