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