Showing posts with label windows bash. Show all posts
Showing posts with label windows bash. Show all posts

Sunday, August 5, 2018

Enable SSH server, Windows 10 Subsystem for Linux, Ubuntu

Enable SSH server on Windows Bash
start windows bash
sudo apt-get update
sudo apt-get purge openssh-server
sudo apt-get install openssh-server
sudo vi /etc/ssh/sshd_config
PermitRootLogin no
AllowUsers XXX
PasswordAuthentication yes
UsePrivilegeSeparation no
sudo service ssh --full-restart

for 18.04, may need
sudo ssh-keygen -A

Enable Key login
~/.ssh $ cat id_rsa.pub >> authorized_keys

Enable Port 22 Access from Windows Firewall
WF.msc
InboundRules
New Rule ...
Rule Type : Port
Protocol and Ports: TCP, Specific local ports: 22
Action: Allow the connection
Profile: Domain/Private/Public
Name: SSH

https://developer.nvidia.com/cuda-toolkit-archive
CUDA 9.0, cuDNN 7.0, python 3.5

CUDA 8.0, cuDNN 6.0, python 3.5
copy cudnn files to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0