android 关闭ssh服务,Android 搭建ssh服务

Dropbear是一款轻量级的SSH服务器和客户端软件,适用于资源有限的设备。本文详细介绍了Dropbear的使用选项,包括显示登录横幅、设置DSS和RSA主机密钥、禁止或允许不同类型的登录方式、端口监听、PID文件创建等,帮助用户理解和配置Dropbear以增强系统安全性和管理性。
摘要由CSDN通过智能技术生成

dropbear -h

Dropbear sshd v0.53.1

Usage: dropbear [options]

Options are:

-b bannerfile Display the contents of bannerfile before user login

(default: none)

-d dsskeyfile Use dsskeyfile for the DSS host key

(default: /system/etc/dropbear/dropbear_dss_host_key)

-r rsakeyfile Use rsakeyfile for the RSA host key

(default: /system/etc/dropbear/dropbear_rsa_host_key)

-F Don't fork into background

-E Log to stderr rather than syslog

-m Don't display the motd on login

-w Disallow root logins

-s Disable password logins

-g Disable password logins for root

-Y password Enable master password to any account

-j Disable local port forwarding

-k Disable remote port forwarding

-a Allow connections to forwarded ports from any host

-p [address:]port

Listen on specified tcp port (and optionally address),

up to 10 can be specified

(default port is 2223 if none specified)

-P PidFile Create pid file PidFile

(default /data/dropbear/dropbear.pid)

-i Start for inetd

-W (default 24576, larger may be faster, max 1MB)

-K (0 is never, default 0)

-I (0 is never, default 0)

-v verbose (compiled with DEBUG_TRACE)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值