8000 GitHub - hub-adda/ssh-gateway: An SSH gateway to support an ssh bastion. Different type of authentication, ssh session recording
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

An SSH gateway to support an ssh bastion. Different type of authentication, ssh session recording

Notifications You must be signed in to change notification settings

hub-adda/ssh-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-gateway

An SSH gateway to support an ssh bastion. Different type of authentication, ssh session recording The SSH Gatewaty connects to a target in that method: Client App --> SSH Gateway --> Target Machine

To launch the ssh gatway

  1. go build

  2. execute : ./ssh-gateway -config config,json

  3. running a client vs the ssh gateway is done by: ssh personal_user@target_user@target_address@bastion_address

    • Target address can be an IP Address or DNS Name
    • Target address can be a cloud provider instance id. Instance is for a cloud provider is built as <cloud_provider_code>

    Examples for ip adress

    Example for cloud provider instance id:

    • ssh gadda@ec2-user@aws#i-06316bc63aea813ec@localhost -p 2233

Future Ideas -

  • Multi cloud instance id tokens: e.g. aws#i-06316bc63aea813ec, gcp#some-instance_id, azr#another_ms_cloud_machine
  • log to EWS
  • monitor suspicious commnands
  • cache certificate, cache ip resolve to instance,
  • banner to user,
  • wildcard in instace name and select,
  • terminate session on session expiration
  • terminate session on restricted commands
  • terminate session on idle
  • benchmark 3000 connections

About

An SSH gateway to support an ssh bastion. Different type of authentication, ssh session recording

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0