Skip to content
View akihara-sam's full-sized avatar

Block or report akihara-sam

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
akihara-sam/README.md

sudo su cd /root

修改authorized_keys文件(即ssh证书) vi .ssh/authorized_keys 把ssh-rsa之前的文件都删除掉. 编辑ssh配置文件 nano /etc/ssh/sshd_config 找到PermitRootLogin, 把前面的#去掉 改成下面这样 PermitRootLogin yes ctrl+x 保存退出 选择y 然后回车 然后 reboot 重启服务器。就可以使用root用户名配合秘钥登入了

2:开启防火墙 iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -F apt-get purge netfilter-persistent

reboot 重启

Popular repositories Loading

  1. akihara-sam akihara-sam Public

    Config files for my GitHub profile.

  2. sam sam Public

    sam_v2y

    Batchfile

  3. OneClickRun OneClickRun Public

    Forked from biplobsd/OneClickRun

    Another colab notebook!

    Jupyter Notebook

  4. something something Public

    Forked from Laurence8866/something

    Shell

  5. CatVodTVSpider CatVodTVSpider Public

    Forked from CatVodTVOfficial/CatVodTVSpider

    Java

  6. v2okteto v2okteto Public

    Forked from coyoteer/v2okteto

    在Okteto云部署自己的v2ray节点

    Shell