Categorygithub.com/patrickkdev/gossh
repositorypackage
0.0.0-20241027155241-389c78d39abc
Repository: https://github.com/patrickkdev/gossh.git
Documentation: pkg.go.dev

# README

gossh

Allows you to SSH into servers and mount file systems by name.

Install

Linux only.

  1. Install directly from the repo using Go:

    go install https://github.com/patrickkdev/gossh@latest
    
  2. Ensure the go bin directory is in your path

    export PATH="$HOME/go/bin:$PATH"
    
  3. Run gossh

    gossh
    

OBS: In order to mount file systems it is necessary to have sshfs installed

Usage

Add a server

gossh add <server_name> <username@ip>
# Ex: gossh add my_new_vps [email protected]

List available servers

gossh list

SSH into a server

gossh <server_name>
# Ex: gossh my_new_vps

Mount a server's file system

gossh fs <server_name>
# Ex: gossh fs my_new_vps

Remove a server from the list:

gossh remove <server_name>
# Ex: gossh remove my_new_vps