openwrt firewall
来源:互联网 发布:java的作用 编辑:程序博客网 时间:2024/06/06 20:09
/etc/config/dropbear
Sections
The dropbear
configuration contains settings for the dropbear SSH server in a single section.
Dropbear
The dropbear
section contains these settings:
enable
booleanno1Set to 0
to disable starting dropbear at system boot.verbose
booleanno0Set to 1
to enable verbose output by the start script.BannerFile
stringno(none)Name of a file to be printed before the user has authenticated successfully.PasswordAuth
booleanno1Set to 0
to disable authenticating with passwords.Port
integerno22Port number to listen on.RootPasswordAuth
booleanno1Set to 0
to disable authenticating as root with passwords.RootLogin
booleanno1Set to 0
to disable SSH logins as root.GatewayPorts
booleanno0Set to 1
to allow remote hosts to connect to forwarded ports.Interface
stringno(none)Tells dropbear to listen only on the specified interface.1)rsakeyfile
fileno(none)Path to RSA filedsskeyfile
fileno(none)Path to DSS/DSA fileSSHKeepAlive
integerno300Keep AliveIdleTimeout
integerno0Idle TimeoutThis is the default configuration:
config dropbear option PasswordAuth 'on' option RootPasswordAuth 'on' option Port '22'
免密码SCP传输文件
将电脑的id_rsa.pub拷贝到路由器/etc/dropbear目录下,
catid_rsa.pub >> authorized_keys
chmod600 authorized_keys
关闭防火墙且禁止自启动,否则客户端无法用ssh连到dropbear server
/etc/init.d/firewall stop
/etc/init.d/firewall disable
关于firewall:
/etc/init.d/firewallSyntax:
/etc/init.d/firewall
[command]Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
阅读全文
0 0
- openwrt firewall
- openwrt 防火墙设置 一。/etc/config/firewall
- Firewall
- firewall
- firewall
- firewall
- firewall
- firewall
- firewall
- firewall
- Firewall
- Firewall
- firewall
- firewall
- firewall
- firewall
- openwrt
- OpenWRT
- 星河互联CEO傅淼:从商业智能到智能商业 | AI这个6岁偏科神童如何做商业决策? | CCF-GAIR 2017
- 寻一城美景,觅非凡之美,Xplay6与重庆的小故事
- android 底部菜单写法之FragmentTabHost
- “你是我的眼”,微软计算机视觉 APP 让盲人用手机看世界
- 比科幻更现实,超级高铁公司Hyperloop One完成首次全真空测试
- openwrt firewall
- 海康威视涉嫌抄袭,拥有 1200 项专利的安防龙头怎么想的?
- 运行程序选择总是重启tomcat后,如何修改设置。
- 亲见智会打造办公神器,黑科技造福空中飞人
- Populating Next Right Pointers in Each Node I, II
- python3 subprocess模块使用
- 计蒜客————Jumbled Compass
- 数据库学习2
- AndroidManifest.xml清单文件说明