darkoperator / darkoperator/Posh-SSH

I could not connect to device after update

Open
#495 11 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

Hello, good evening

I could not connect in fortianalyzer device after device update to version 7.0.4, I am getting the following error on device:

SSH unable to negotiate with 192.168.10.10 port 63012: no matching host key type found. Their offer: ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss

I got the following SSH Error on machine:

image

Below there is my machine configuration:

PS U:> Get-Module posh-ssh

ModuleType Version Name ExportedCommands


Manifest 3.0.8 Posh-SSH {Get-SCPItem, Get-SFTPItem, Get-SSHHostKey, Get-SSHJsonKnownHost...}

PS U:> $PSVersionTable

Name Value


PSVersion 5.1.22000.832
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22000.832
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

I am getting the same error in another machines.

Obs. It is working fine using "Putty".

Thanks in advance.

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 by reproducing the SSH connection from PowerShell 5.1 with Posh-SSH 3.0.8 against the FortiAnalyzer 7.0.4 device, then compare the negotiation with PuTTY. Done means determining whether the failure is reproducible and documenting a verified compatibility fix or limitation.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.