debian 下 dropbear 修改端口

修改/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

You May Also Like

About the Author: admin

发表评论

邮箱地址不会被公开。 必填项已用*标注