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

Block or report akihara-sam

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
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. x-ui x-ui Public

    Forked from vaxilu/x-ui

    支持多协议多用户的 xray 面板

    JavaScript 1

  2. akihara-sam akihara-sam Public

    Config files for my GitHub profile.

  3. sam sam Public

    sam_v2y

    Batchfile

  4. OneClickRun OneClickRun Public

    Forked from biplobsd/OneClickRun

    Another colab notebook!

    Jupyter Notebook

  5. something something Public

    Forked from Laurence8866/something

    Shell

  6. CatVodTVSpider CatVodTVSpider Public

    Forked from CatVodTVOfficial/CatVodTVSpider

    Java