Skip to content
/ gssh Public

Client side ssh wrapper script for auto port forwarding

Notifications You must be signed in to change notification settings

axonasif/gssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gssh

Client side ssh wrapper script for auto port forwarding under ~77 SLOC. I couldn't find such a script online, so thought to put this together for using with Gitpod's ssh-gateway. Normally, gssh should work for any ssh host.

Installation

Install via bashbox:

bashbox install https://github.com/axonasif/gssh

If you don't have bashbox installed, check this

Usage

You can pass a whole ssh command into gssh, normally this is helpful when you copy paste the ssh command from somewhere:

gssh ssh 'axonasif-dotfilessh-cemin9pjf2q@axonasif-dotfilessh-cemin9pjf2q.ssh.ws-us65.gitpod.io'

Or you can manually omit the ssh keyword if you like, to only pass the host address, you can pass any ssh arguments as well:

gssh -v 'user@host' "uname -a"

About

Client side ssh wrapper script for auto port forwarding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages