Configure and manage Windows 10 IoT Core device using SSH

Last updated on 05th September 2016

You can use Secure SHell (SSH) to remotely configure and manage Windows 10 IoT core running on a Raspberry Pi, DragonBoard or MinnowBoard. To make an SSH connection to your device, all you need is an SSH client software, such as Putty, on the system from which you want to connect. You can download PuTTY from the link here.

1. To establish the connection, you need to know the IP address of the Windows IoT device you want to connect to. If you have a monitor connected to you Windows IoT device then you can easily find this in the Device info section. If you dont have a monitor then follow the steps below.

  • Open Windows IoT core dashboard.
  • Click My Devices.
  • Right click your device from the list.
  • From the options menu select Open in Device Portal.
  • Enter user name Administrator and your password.
  • On the Device Portal, click Networking on the left hand menu.
  • Scroll down to IP Configuration section.
    Windows IoT IP configuration

2. Now that you know the IP address, launch Putty.

Putty

3. Select the SSH radio button under Connection Type

4. Enter the IP address. (You may also save the connection for easy access later)

5. Click Open. If its the first that you are connecting to the Windows IoT device from this computer then you will see a message like below. Click Yes to accept and proceed.

SSH Login RSA Key Fingerprint

6. Enter user name and password to login.

SSH Login

Once you are logged in to the device you will see a prompt like this:

Microsoft Windows [Version 10.0.14393]
Copyright (c) Microsoft Corporation. All rights reserved.

C:\Data\Users\Administrator>

You can now start typing in the commands from this prompt.

Here is a list of some of the most frequently used commands

CommandDescription
hostnameDisplay host name.
setcomputername NewDeviceNameSet a new device name.
dateDisplay current date and prompt for a new date to set.
timeDisplay current time and prompt for a new time to set.
shutdown /r /t 0Reboot the device.
shutdown /s /t 0Shutdown the device.
net userDisplay all user accounts.
net localgroupDisplay all user groups.
net user Username Password /addCreate new user with specified username and password.
net user Username NewPasswordSet a new password for the user.
net localgroup GroupName UserName /addAdd a user to a group.
tlistDisplay currently running processes.
net startDisplay currently running services.
net stop "Service Name"Stop a service that is running./td>
net start "Service Name"Start a service that is stopped./td>
kill processidStop a process with the specified process id.
getadapterinfoDisplay adapter name, IP address and other details for all network adapters.

Post a comment

Comments

Nothing yet..be the first to share wisdom.