Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

run „ipconfig /all“ to display your systems Host Name (e.g. „WINSECO-S0M3C0D3“) and connect to that using the remote desktop tool on your Windows 10 system

SSH

To install and run an OpenSSH server on Windows 10 IoT Enterprise open an evelated PowerShell window and execute the following commands:

  • Verify OpenSSH.Server is ‘NotPresent’:

    Code Block
    Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
  • Install OpenSSH.Server:

    Code Block
    Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
  • Configure and start OpenSSH.Server:

    Code Block
    Start-Service sshd
    Code Block
    Set-Service -Name sshd -StartupType 'Automatic'
    Code Block
    if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyContinue | Select-Object Name, Enabled)) {
        Write-Output "Firewall Rule 'OpenSSH-Server-In-TCP' does not exist, creating it..."
        New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
    } else {
        Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists."
    }
  • Open an elevated command prompt window to change the default user account password:

    Code Block
    net user Trizeps8mini 12345

    (In this example we change the password of the user 'Trizeps8mini' to ‘12345’)

  • Restart the device

  • Connect to the device via SSH:

    Code Block
    ssh Trizeps8mini@<IpAddress>

    Authenticate with the password ‘12345’

  • You can look up the devices local IP address via command prompt:

    Code Block
    ipconfig /all