爱快路由Docker安装运行并连接Centos7容器
下面介绍怎么在爱快路由系统的docker容器中安装centos7.9系统。 拉取centos7 docker镜像 添加centos7 docker容器 进入容器命令行 开启SSH访问1、安装必要程序12yum install -y net-toolsyum install -y openssl openssh-server 2、修改sshd_config文件配置信息1vi /etc/ssh/sshd_config 将 PermitRootLogin的值改为 yes (这里是设置是否允许root用户登录,可根据自己需求决定是否开启) 3、输入以下命令123ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N ''ssh-keygen -q -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''ssh-keygen -t dsa -f /etc/ssh/ssh_host_ed25519_key -N '' 4、启动ss...

