1. Enable Ssh On Windows 8.1 Download
  2. Enable Ssh On Windows 8.1 Windows 10
Enable Ssh On Windows 8.1

If you have Windows 10 Anniversary Edition, you’re probably aware that you can run a complete Linux instance inside of Windows 10.

But wouldn’t it be cool if you could open a SSH session to the BASH shell from PuTTy running on your Windows 10 host?

1. Install PuTTy

The first thing we need to do is to get PuTTy on our Windows 10 host. If you already have it you’re good – if not grab it from the official PuTTy site:

2. Enable BASH on Windows 10

The version of Powershell that comes with Windows 10 has SSH support in the future by the way. – Ramhound Aug 20 '15 at 22:42 @Ramhound: so, if there isn't one in win 8.1 post it as answer so I can mark it as such;-) – Stefan Aug 20 '15 at 22:49. Create the.ssh folder (for the authorizedkeys file) in your Windows account profile folder (typically in C: Users username.ssh). 2 For permissions to the.ssh folder and the authorizedkeys file, what matters are Windows ACL permissions, not simple.nix permissions. How to Enable Remote Desktop in Windows 10. Follow these steps. Press Win + I key to open Windows Settings. Click on the “System” setting. Scroll through on the left-hand side and find “ Remote Desktop “. On the right-hand side, you can see the option “ Enable Remote Desktop “. Move the slider to On. Create the.ssh folder (for the authorizedkeys file) in your Windows account profile folder (typically in C: Users username.ssh). 2 For permissions to the.ssh folder and the authorizedkeys file, what matters are Windows ACL permissions, not simple.nix permissions.

Mash the Windows Key, type “developer” and then click Developer Mode under Use developer features in the right pane of the Settings window.

You’ll be asked to reboot. When you come back, hit the Windows Key again and type “Turn Windows features on or off” then scroll down to “Windows Subsystem for Linux (Beta)”, click OK wait for the installation to finish (takes about 5 minutes) and then you’ll reboot again.

Okay, now we’re ready to go

Press the Windows Key + r and type “bash” to load the BASH shell. We need to set it up.

The command prompt will ask you to download Ubuntu from the Windows Store. Hit “y” to continue, let it download (took me about 15 minutes to download) and then you’ll create your UNIX username (which is distinct from your Windows username) and your password for that Linux account.

Now we need to install openssh.

I typed clear to clear the screen and then:

sudo apt-get install openssh-server

Now let’s configure the sshd_config file so we can make this baby work.

Enable Ssh On Windows 8.1 Download

Type:

Type the forward slash key and then enter:

Now press “i” to enter the edit mode and change it to:

Ssh

Press escape to leave edit mode

then press the forward slash again and enter:

Ssh

We need to change this to yes

Do the same thing to change UsePriviledgeSeperation to no

Now press Escape and hit capital g:

to jump to the bottom of the file and then press

to enter insert mode again. We need to add a line:

Enable Ssh On Windows 8.1 Windows 10

Swap out vhudson with the username you created when you installed Bash.

Press Escape to enter command mode..

Hit ZZ to save the file and close and then bounce the SSH service.

connect to 127.0.0.1 using PuTTY and you should be in!

Now just login with your UNIX creds

Posted in Windows, Windows 10 Tagged with: SSH