6

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 administrator@10.155.41.47

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

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.

  • 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/… – findusl May 28 '18 at 7:36
  • Didn't knew about this feature – Shubhendu May 28 '18 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. – Shubhendu May 28 '18 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 – findusl May 28 '18 at 8:05
  • 1
    ssh -c aes256-cbc machine@yourhost – Shubhendu May 28 '18 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 ...
  • 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. – findusl Oct 1 at 10:02
  • 1
    Soliciting outside SE contact is not allowed. You may disclose professional affiliations, services, blogs, et cetera in your profile only. – Helmar Oct 2 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.