Set Wios to login the set service for the keySSH 'Allow-root'Set ServiceSSH 'disable-password-authentication' //Disable Password loginSet ServiceSSHPort' A'Set SystemLoginUser Wios authentication Public-keys RSA key'aaaab3nzac1yc2eaaaabiwaaaqeav+dd846ququmuhyygxvx0lhhhnq6a6da4izxejv1tswwp40occytbij+abe/ 5fdh5oxi5gzful8onsiboswwd6azus3haghppgzmhuc8+7wdr9u+2ewzqemfslalycn6egecxkq/szdnzxmcivalams9j3b3pwofak2j08btg/ uxgosojdpwepwgduc7tvwztlaveia0b+o1fci/cyzjhp+to8jikhkawy/ Oscr0qs5inorciolyu2rvwgdmenhel2c12prrfbuznpxnyf5il6qgf+8wnp7vekhrdjkyj7uvtwtcjhdlqkgvzoajhggvd+ 3fjxkh54hzmcbyfy+vmq==' //set the value of RSA to the keySet SystemLoginUser Wios authentication Public-keys RSA Type'Ssh-rsa' //to set the RSA type to SSH-RSA encryption typeCentOS Setup Protocol2passwordauthentication No # #禁用密码登陆PubkeyAuthentication Yes # #使用key登录AuthorizedKeysFile.SSH/authorized_keys # #key的名字, this may not be the same as the Debian path.
Wios setting up a certificate login