darkoperator / darkoperator/Posh-SSH
Session time out
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to SSH into HPiLO through powershell.
I am using below commands and every time it sessions out.
New-SSHSession -ComputerName 10.42.187.xx -Verbose
Errors:
New-SSHSession : Session operation has timed out
At line:1 char:1
- New-SSHSession -ComputerName 10.42.187.xx -Verbose
-
+ CategoryInfo : OperationTimeout: (Renci.SshNet.SshClient:SshClient) [New-SSHSession], SshOperationTimeoutException + FullyQualifiedErrorId : SSH.NewSshSession
New-SSHSession : Socket read operation has timed out after 10000 milliseconds.
At line:1 char:1
Can you please help..
Bascially I am trying below:
New-SSHSession -ComputerName 10.42.187.xx -Verbose -Credential $cred
Invoke-SSHCommand -Command "cd /map1/firmware1" -SSHSession | load –source http://10.118.161.xx/ilo2_229.bin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported New-SSHSession command against the HP iLO endpoint with and without -Credential, then inspect the verbose timeout and socket-read errors. Done would require identifying whether the timeout is caused by Posh-SSH or the remote connection and documenting a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100