debian 下 dropbear 修改端口

admin
2012-04-07 / 0 评论 / 319 阅读 / 正在检测是否收录...

修改/etc/xinetd.d/dropbear

service dropbear

{

socket_type = stream

only_from = 0.0.0.0

wait = no

user = root

protocol = tcp

server = /usr/sbin/dropbear

server_args = -i

disable = no

port = 21413

type = unlisted

}


禁止root登陆,只需要修改server_args = –i  为server_args = -i -g

0

评论 (0)

取消