New-SSHSession : Sequence contains more than one element

Open
#219 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the New-SSHSession entry point and reproduce the failure using an alias that resolves to two server names. Determine the expected behavior for multiple returned hosts, then verify that the chosen behavior is covered and that the command no longer fails with “Sequence contains more than one element.”

Written by the indexing model from the issue text.

Description

I am trying to create a new session for a host which is actually a alias name (Wide IP/BigIP). Which is forward the request to the serving host name.

Ex : youname.domain.com
will have two server names behind it. which ever is live it will redirect the request to it.

I am getting the error New-SSHSession : Sequence contains more than one element

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

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.

More from darkoperator/Posh-SSH

All issues in darkoperator/Posh-SSH

Similar issues

More Networking issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.