sshnet / sshnet/SSH.NET

Can use SSH.NET start a bash terminal by root on the host without ssh?

Open
#734 3 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

The application in the host is started with root, but it has no infomation about the root's password, but I want to start a pty with c# and signarl to implement a web terminal.

Can SSH.NET can direct create a pty on the host use root excute, and doesn'ts require password?

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

Start by reviewing the SSH.NET session and PTY entry points relevant to creating a terminal on the host. Determine whether the requested root shell without an SSH password is supported by the library or requires a different host-side design. Done would require a clearly defined supported behavior and corresponding tests or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.