clion配置toolschains:
- mingw64
- wsl - ubuntu
- 打开终端
- 进入subsystem,安装ssh
small@small:~$ sudo apt-get install ssh [sudo] password for small: Reading package lists... Done Building dependency tree Reading state information... Done openssh-server is already the newest version (1:8.2p1-4ubuntu0.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. - 编辑ssh配置文件:
small@small:/etc/ssh$ sudo vi sshd_config # 解开以下注释 Port 2222 AddressFamily any ListenAddress 0.0.0.0 ListenAddress :: # 还有这里 # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes - 启动ssh
small@small:/etc/ssh$ sudo service ssh start * Restarting OpenBSD Secure Shell server sshd - clion 测试链接就 ok了!