37

Win10 shell has ssh? Oh boi, let's try that out.
> help ssh
This command is not supported by the help utility. Try "ssh/?".
> ssh /?
ssh: Could not resolve hostname /?: Name or service not known.

😲🔫

Comments
  • 0
    Try removing the space between ssh and /.
  • 0
    @iAmNaN I must admit I typed it from the screen and did not use the webapp. So the missing space is unintentional and not part of the actual output.
  • 2
    @JoshuaBehrens ah, got it. I'm sure there is some illogical reason for it. 🤠
  • 4
    First, get chocolatey installed, then:

    PS> choco install openssh

    ...

    PS> refreshenv
    PS> ssh

    You're welcome :).
  • 1
    It does but the buil-in bash and uve apt get it first
  • 0
    @Mayhem93 I did not know choco had an ssh package. Good to know. But why do I have to use another package if there is a built-in.

    The help message is just what triggers me here >:(
  • 0
    info ssh or man -k ssh

    It's not an MS implementation issue, it is a Canonical thing. Actually, come to think of it, it is a Linux thing.
  • 1
    @iAmNaN I know that the new linux environment in windows10 is the reason why `ssh /?` was the wrong way to ask for help. But `help ssh` should not tell me to use it like a windows application.
  • 0
    That choco package is a Windows port of openssh and it has its minuses, most notably xterm virtual terminal is not implemented so for example htop will not work because TERM=dumb and even if you Set it to xterm it won't work properly
Add Comment