WSL SFTP

sudo apt-get remove --purge openssh-server
sudo apt-get update --fix-missing
sudo apt-get install openssh-server
sudo service ssh start

vi /etc/ssh/sshd_config

Port 22
#AddressFamily any
ListenAddress 127.0.0.1
ListenAddress ::1

f:id:kyamashiro:20190413082154p:plain

シンボリックリンク

sudo rm -rf /var/www/html
cd /var/www
sudo ln -s /mnt/c/html