• wios设置证书登陆


    设置wios为密钥登陆set service ssh 'allow-root'
    set service ssh 'disable-password-authentication'          //禁用密码登陆
    set service ssh port '22'
    set system login user wios authentication public-keys rsa key 'AAAAB3NzaC1yc2EAAAABIwAAAQEAv+DD846quQUmuhYYGXvx0lhHhnq6a6DA4IzxeJv1tswWp40ocCYTBIj+AbE/5Fdh5Oxi5gZfUL8OnsiBoSwWd6azuS3HaGhpPGzmHuc8+7wdR9U+2EwzqEmfSlALycN6egECxKQ/SzdnzXmCiVALAms9J3b3pwofAK2J08BtG/uXGoSoJDPwePWgdUc7TvWztlAvEia0b+O1fCi/CYZjHp+TO8jIkHkAWy/oSCR0qS5inOrCiOlYU2RVwgDMenhEl2c12pRRFBUznpXNyF5IL6QGF+8WNp7vekHrDJkyJ7UvTWtcjHDlqkGVzOAjHgGVD+3FJXKh54hzmcBYfy+vMQ=='       //设置rsa的值为密钥
    set system login user wios authentication public-keys rsa type 'ssh-rsa'                       //设置rsa的类型为ssh-rsa加密类型
    
    centos设置
    Protocol 2
    PasswordAuthentication no ##禁用密码登陆
    PubkeyAuthentication yes ##使用key登录
    AuthorizedKeysFile .ssh/authorized_keys ##key的名字,这个和debian的路径可能不同
  • 相关阅读:
    时间安排还是很不合理
    ZOJ Problem Set
    ZOJ Problem Set
    ZOJ Problem Set
    ZOJ Problem Set
    还是很水啊!!!
    pragma mark
    IOS应用发布NSLog的如何注释
    设定时间让应用从后台回来是否重新启动应用
    Mac 上SVN上传.a文件
  • 原文地址:https://www.cnblogs.com/djoker/p/8328229.html
Copyright © 2020-2023  润新知