darkoperator / darkoperator/Posh-SSH

New-sshsession doesn't work while putty working well

Open
#428 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1.1k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

i m using version 3.0.0 but can't create ssh session with below error:
(but everything is fine with Putty)

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has faile
to respond"
$script:session=New-SSHSession -ComputerName $servers -Credential $MySecureCreds -AcceptKey -ConnectionTimeout 120
OS: AIX 7.1

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the New-SSHSession command shown in the report and reproduce the timeout against AIX 7.1 using the stated PowerShell module version. Compare the connection details with the working PuTTY setup and identify the relevant connection-handling entry point. Done means establishing the SSH session successfully or documenting the missing compatibility details needed for a targeted fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
24/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.