Stuck at "VERBOSE: Using SSH Username and Password authentication for connection."
In connecting to several devices without a problem, but there are 2 that are giving me trouble. This is the command im currently using to connect:
New-SSHSession -Port 22 -ComputerName X.X.X.X -Credential $SSH_Cred -Force -Verbose
But i get stucked at this part until timeout:
VERBOSE: Using SSH Username and Password authentication for connection.
But if a try to connect to the same device, from the same machine using putty, i can do it without a problem. Can somebody help me?
Regards!
Anything on the host logs?
Anything on the host logs?
Nothing on the device, but the traffic is getting there without issue. I also tried the soluction in this topic https://github.com/darkoperator/Posh-SSH/issues/354 ussing the dll from version 2.2, but the error persists. Any ideas?
Only thing that could be it may be the way version is reported. It is a known bug in SSH.Net http://ssh.net/ that they will fix in the next release.
Do you have an ETA on when could the release be?
SSH.Net http://ssh.net/ is not my project so no clue there.
Let me ask you one more question, y tried to use diferente versions of SSH.NET:

I could test the 2016 versions without a problem, but the 2020 gave me an error. Is there anyway i could test the newest SSH.NET library, or the module would requiere modification?
Regards!
The version in powershell gallery is a custom build to address some issues. I have not tried or tested replacing it with other versions
Sent from my iPhone
On Jan 22, 2021, at 8:21 AM, Nehuen Natero [email protected] wrote:
Let me ask you one more question, y tried to use diferente versions of SSH.NET:
I could test the 2016 versions without a problem, but the 2020 gave me an error. Is there anyway i could test the newest SSH.NET library, or the module would requiere modification?
Regards!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Please test the alpha release to see if issue is resolved https://github.com/darkoperator/Posh-SSH/releases/tag/3.0.0-Alpha
This is a major release with breaking changes and it is cross platform for the latest version of powershell.