分类 Linux 下的文章

1.安装

apt install shadowsocks-libev

2.修改"/etc/shadowsocks-libev/config.json"配置

{
    "server":["::"],
    "mode":"tcp_and_udp",
    "server_port":8388,
    "local_port":1080,
    "password":"mimamima",
    "timeout":600,
    "method":"aes-256-cfb"
}

3.启动

/etc/init.d/shadowsocks-libev start    # for sysvinit, or
systemctl start shadowsocks-libev      # for systemd

1.获取root权限

su -

2.安装vim

apt install vim

如果装系统时没有安装ssh还要安装ssh

apt install ssh

3.root权限修改ssh配置

vim /etc/ssh/sshd_config
PermitRootLogin yes

4.重启ssh服务后即可用root登录

/etc/init.d/ssh restart