8

I set up a Raspberry Pi 3b with Windows 10 IoT to try it out. In the past I had Linux running and I would just ssh connect to it. However when trying to ssh from powershell to the Windows 10 IoT it would fail with this error:

Unable to negotiate with 10.155.41.47 port 22: no matching cipher found. Their offer: aes256-cbc,aes192-cbc,aes128-cbc 

I use this command:

ssh [email protected] 

Is it just not possible to ssh from Windows 10 with Powershell to Windows 10 IoT?

2
  • 1
    Have you tried using PuTTY? docs.microsoft.com/en-us/windows/iot-core/connect-your-device/… Commented May 27, 2018 at 23:50
  • That does work. So basically Windows added a ssh feature but it is not even good enough to connect to another windows computer? That seems ridiculous. Commented May 28, 2018 at 8:20

2 Answers 2

2

When your SSH client attempts to open a connection, the server and client exchange lists of ciphers that they support for encrypting the SSH session. The first cipher that the client and server have in common is used to encrypt the connection. If there are no ciphers in common between the client and the server, you'll see the "no matching cipher found" message that you are receiving.

You can download PuTTY or OpenSSH, both are free downloadable command line ssh client for windows operating system. After that you can go through the below link:
https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/ssh.

If you want to use powershell, here is the documentation:
https://docs.microsoft.com/en-us/windows/iot-core/connect-your-device/powershell

Keep in mind that you have to run powershell as an administrator. But first of all update all the related softwares. Also you can also use the following command:

$ssh -c aes256-cbc machine@yourhost 

Please refer the manual but its not recommended due to security issues.

9
  • What do you mean it doesn't have a built-in ssh client? I thought that is exactly what they added recently. Wouldn't the command otherwise give me a error message of the form 'ssh not found'? howtogeek.com/336775/… Commented May 28, 2018 at 7:36
  • Didn't knew about this feature Commented May 28, 2018 at 7:45
  • Try with powershell once. When your SSH client attempts to open a connection, the server and client exchange lists of ciphers that they support for encrypting the SSH session. The first cipher that the client and server have in common is used to encrypt the connection. If there are no ciphers in common between the client and the server, you'll see the "no matching cipher found" message that you are receiving. Commented May 28, 2018 at 7:48
  • I tried with powershell according to the manual. It failed, I sadly only have error output in german. I added some comments with #####. pastecode.xyz/view/4c30dadf Commented May 28, 2018 at 8:05
  • 1
    ssh -c aes256-cbc machine@yourhost Commented May 28, 2018 at 8:21
0
  1. Download putty as need of 64 bit or 32 bit

  2. Open the command prompt at the Windows iot core OS

  3. Give "ipconfig" and note the ipv4 address.

  4. Now add your network with the raspberry pi board ip address

    • netsh method
    • advanced settings method
  5. After known the ip just open the putty and put your id there select ssh and open the putty

  6. Give the user name and password

  7. Now you can easily access the SSH service of the windows IOT core ...
2
  • As you can see in the comment of the question I do know putty and it works. But I wonder why Windows can't connect to another Windows. It seems wrong. Commented Oct 1, 2019 at 10:02
  • 1
    Soliciting outside SE contact is not allowed. You may disclose professional affiliations, services, blogs, et cetera in your profile only. Commented Oct 2, 2019 at 7:44

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.