Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

gnugomez/sshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshell

A straightforward SSH server that pipes the io to a bubbletea program per ssh session.

Warning

This tool should be used within a controlled environment. Although it's designed to be secure, we do not recommend using it outside of a controlled setting.

How it works

The server listens for incoming connections. To handle these connections, it creates a new pseudo-terminal (PTY), connected to a bubbletea instance and piped back to the client.

Usage

Build the tool using go:

go build -o sshell .

Run the server:

./sshell -port 2222 -key-path /path/to/key

Connect to the server:

ssh -p 2222 user@localhost

Options

Option Description Default Required
port The port to listen on. 2222 No
key-path The path to the private key to use. None No
key The key pem content. None No

About

A straightforward SSH server that serves a bash script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •