dcm4chee 发表于 2021-04-14 使用Windows Ubuntu双系统启用ssh1234567891011ajn404@DESKTOP-2GOT61R:/etc/ssh$ service ssh startmkdir: cannot create directory ‘/run/sshd’: Permission deniedajn404@DESKTOP-2GOT61R:/etc/ssh$ sudo service ssh start * Starting OpenBSD Secure Shell server sshd sshd: no hostkeys available -- exiting. [fail]ajn404@DESKTOP-2GOT61R:/etc/ssh$ sudo ssh-keygen -Assh-keygen: generating new host keys: RSA DSA ECDSA ED25519ajn404@DESKTOP-2GOT61R:/etc/ssh$ sudo service ssh start * Starting OpenBSD Secure Shell server sshd [ OK ]ajn404@DESKTOP-2GOT61R:/etc/ssh$ 安装Wildfly12#更新存储库索引