Azure / Azure/azure-cli-extensions

az ssh vm does not work on WSL

Open
#4,200 2 comments 0 reactions 0 assignees View on GitHub
customer-reported question Service Attention VM SSH
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

az ssh vm --subscription XXXXXXXXXXXXXXXXXXX --resource-group XXXXXXXXXXXXXXXXXXXXXX --vm-name vm-07 --prefer-private-ip
'\\wsl$\Ubuntu-20.04\home'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
'\\wsl$\Ubuntu-20.04\home'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
'\\wsl$\Ubuntu-20.04\home'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
XXXXXX@RDDE01C0:/home$

returns to the local host linux for windows shell

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.