在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
