You may notice that by default, VIM's arrow keys don't work on your computer. To fix this, add the following to your ~/.vimrc
:
$ cat ~/.vimrc set term=builtin_ansi
You may notice that every time you run sudo something
, your system complains that it cannot resolve it's own hostname, but then continues on anyway. To fix this annoyance, you need to add your system's hostname to /etc/hosts
:
$ cat /etc/hosts 127.0.0.1 localhost 127.0.0.1 nova ...
Here, my machine is called 'nova'.
In order to be able to ssh into your Linux subsystem instance follow the steps outlined by Master Azazel in this thread:
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
sudo nano /etc/ssh/sshd_config
and disallow root login by settingPermitRootLogin no
- Then add a line beneath it that says:
AllowUsers yourusername
and make surePasswordAuthentication
is set toyes
if you want to login using a password. - Disable privilege separation by adding/modifying :
UsePrivilegeSeparation no
sudo service ssh --full-restart
- Connect to your Linux subsystem from Windows using a ssh client like PuTTY.