Posh-SSH icon indicating copy to clipboard operation
Posh-SSH copied to clipboard

New-sshsession doesn't work while putty working well

Open dunglerpa opened this issue 3 years ago • 4 comments

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

dunglerpa avatar Nov 03 '21 04:11 dunglerpa

Do you really think that this amount of data provided will somehow help solve your problem or improve the product?

MVKozlov avatar Nov 03 '21 06:11 MVKozlov

Do you really think that this amount of data provided will somehow help solve your problem or improve the product?

i just add command used.

dunglerpa avatar Nov 03 '21 07:11 dunglerpa

What is the target SSH server(os, version of SSH, host key)? Wlso have you been able to connect say with something like PUTTY?

Sent from my iPhone

On Nov 3, 2021, at 3:25 AM, dunglerpa @.***> wrote:

 Do you really think that this amount of data provided will somehow help solve your problem or improve the product?

i just add command used.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

darkoperator avatar Nov 03 '21 07:11 darkoperator

is the $ servers variable just one server or a list of servers? are they all available for connection? have you tried connecting to them one at a time? try adding a flag -verbose to the command

MVKozlov avatar Nov 03 '21 08:11 MVKozlov