阅读上一个主题 :: 阅读下一个主题 |
作者 |
留言 |
chenet 半仙
注册时间: 2013-01-04 文章: 60
|
发表于: Thu 2016-12-01 16:33:59 发表主题: freebsd 11 的 sshd 使用密钥登陆怎么搞? |
|
|
之前好几台机器都是使用sshd密钥登陆的,最近安装了freebsd11,咦?!我不会弄了。
按照以前的设置修改 sshd_config 文件如下:
代码: | Port 22
ListenAddress 192.168.x.x
Protocol 2
PermitRootLogin no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
PasswordAuthentication no
PermitEmptyPasswords no
UsePAM no
UseDNS no
AllowUsers xxx@192.168.x.x |
以前我都是这样设置的。 |
|
返回页首 |
|
 |
alphachi 老妖
注册时间: 2007-12-10 文章: 1263 来自: @tweetxa
|
|
返回页首 |
|
 |
chenet 半仙
注册时间: 2013-01-04 文章: 60
|
|
返回页首 |
|
 |
Gehaowu 老妖

注册时间: 2009-07-13 文章: 3189 来自: www
|
发表于: Fri 2016-12-02 11:54:19 发表主题: |
|
|
都是高端玩家 _________________ https://www.daemon.xin from BITMOE.com
礼尚多有往来,意美人常在
Simplified Chinese Shell/csh,Traditional Chinese Shell/tcsh |
|
返回页首 |
|
 |
chenet 半仙
注册时间: 2013-01-04 文章: 60
|
发表于: Mon 2017-03-06 15:18:45 发表主题: |
|
|
它们说DSA还不够安全,推荐使用RSA。 |
|
返回页首 |
|
 |
|