PowerShell / PowerShell/Win32-OpenSSH

Jumphost port number format

Open
#1,887 4 comments 0 reactions 1 assignee View on GitHub

@tgauth is already working on this.

Since Jan 10, 2022.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

Please answer the following

"OpenSSH for Windows" version
ssh -V
OpenSSH_for_Windows_8.6p1, LibreSSL 2.6.5

ssh -V
OpenSSH_for_Windows_8.6p1, LibreSSL 2.6.5

Server OperatingSystem
Windows 10 Enterprise

Client OperatingSystem

What is failing

When using the -J flag to connect through a jumphost using the format ip_address:port_num I get the error:
channel 0: open failed: connect failed: No such host is known.
stdio forwarding failed
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

When using the -J flag with ip_address -p port_num the connection is successful.

Expected output

Actual output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.