xshell connection kali

1 to modify the configuration file

. 1 VI / etc / SSH / the sshd_config
 2  
. 3  # PasswordAuthentication no # removed, and no modifications to the default is YES // kali Yes 
. 4  
. 5 the PermitRootLogin prohibit- password lower line increases
 . 6  
. 7 the PermitRootLogin Yes

 

2 Restart

/etc/init.d/ssh restart 

 

3 View Status

/etc/init.d/ssh status

 

Guess you like

Origin www.cnblogs.com/lanyincao/p/11491413.html