【文件属性】:
文件名称:moonshine_denyhosts:Moonshine的denyhosts插件
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-26 11:29:32
HTML
月光否认者
一个简单的Moonshine插件,用于管理denyhosts。
安装
# Rails 2
script/plugin install git://github.com/railsmachine/moonshine_denyhosts.git --force
# Rails 3
script/rails plugin install git://github.com/railsmachine/moonshine_denyhosts.git --force
根据需要在moonshine.yml(或特定于舞台的Moonshine yml)中进行配置:
:denyhosts:
:allow:
- 'ALL : 127.0.0.1'
- 'sshd : 1.2.3.4'
:deny:
- 'sshd : PARANOID'
有关选项及其默认值的完整列
【文件预览】:
moonshine_denyhosts-master
----templates()
--------denyhosts.conf.erb(23KB)
--------hosts.allow.erb(629B)
--------denyhosts.init(2KB)
--------hosts.deny.erb(929B)
----moonshine()
--------init.rb(95B)
----README.md(901B)
----lib()
--------moonshine()