sshnet / sshnet/SSH.NET

Automatic connection issue

Open
#836 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
993
Avg merge
9d 21h
Merged PRs (30d)
1

Description

I'm using Renci.SSH to connect AWS on a C# Project. In my case, the AWS does refresh the session tokens after hours, so the previous tokens got expiated and connection lost. My question is how Renci.SSH can handle this situation and automatically reconnect to AWS again? Is there a solution by running RunCommand()?

Thanks,

Contributor guide

Open the contributing guide

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

No source files or tests are identified in the issue. Start by determining how SSH.NET handles expired AWS session tokens and lost connections, then clarify whether automatic reconnection is expected and what RunCommand() should do. Done would require an agreed reconnect behavior and a documented way to verify it.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
cloud, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.