在Docker中安装mysql 数据库后 想要ssh到输入库,但是没有yum命令 没有wegt命令无法安装ssh,可以尝试以下方法:
apt-get update 更新库
apt-get install net-tools
apt-get install vim
apt-get install openssh-server
apt-get install openssl
Missing privilege separation directory: /run/sshd 出现这种情况创建文件夹
/usr/sbin# mkdir /run/sshd
/usr/sbin# /usr/sbin/sshd