Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
ps1aniuge
V2EX  ›  Linux

分享 Linux 中执行的 powershell 脚本: ssh-deny-host

  •  
  •   ps1aniuge · Oct 23, 2019 · 2763 views
    This topic created in 2414 days ago, the information mentioned may be changed or developed.
    这是 powershell 版的 ssh deny host,
    支持 centos7,centos8,debian9,Ubuntu1604,Ubuntu1804
    脚本本身支持 debian10,但是在 debian10 上安装 powershell 还稍有麻烦,需要你手动安装 powershell。

    我的所有 powershell 脚本,下载地址:
    https://pan.baidu.com/s/16deKKe3ZnCg809lffiVZWg
    Supplement 1  ·  Apr 7, 2020
    用任务计划 每分钟执行即可。
    * * * * * /usr/bin/pwsh -file /tmp/sshdenyhost.ps1
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1075 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 18:39 · PVG 02:39 · LAX 11:39 · JFK 14:39
    ♥ Do have faith in what you're doing.