Article ID: 000094235 Content Type: Connectivity Last Reviewed: 05/31/2024

Unable to SSH into Virtual Machine Instance Using WSL

Environment

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Regenerate new SSH key in WSL and launch new Virtual Machine instance

Description
  • Initiated SSH connection into VM instance using WSL.
  • Entered devcloud when prompted for Password.
  • Encountered error: Permission denied (publickey,keyboard-interactive). kex_exchange_identification: Connection closed by remote host
Resolution
  1. Set up SSH keys again in WSL.
    ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa
  2. Open and copy the entire content of the file: id_rsa.pub.
  3. Update the copied SSH key in the profile before starting an instance.
  4. Launch new Virtual Machine instance.
Additional information

Refer to Intel® Developer Cloud Get started for setting up SSH key.

Related Products

This article applies to 1 products