Sshs - Graphical command line client for SSH

Related tags

Network sshs
Overview

sshs

Graphical command line client for SSH.
It uses ~/.ssh/config to list and connect to hosts.

example

Requirements

You need to have ssh installed and accessible from your terminal.

Issues
  • Custom Arguments while ssh

    Custom Arguments while ssh

    Hello @quantumsheep,

    I tried this and this project is Awesome. It help me to manage all my Remote Connections and made working on them easy. But I am also using this tool https://github.com/micharbet/CLE to login to remote server, this tool had one benefit as "lssh"


    Explaination from Readme:

    lssh utility (ssh wrapper)

    The CLE is able to pass itself over ssh to a remote system. Use the wrapper called lssh instead of the regular 'ssh' command for a login into a remote account and CLE will be copied over then started seamlessly:

    lssh [email protected]
    

    As this tool is coping all my required default configuration over Remote Host. It is easy to work on Remote Server. So I tried to use this with sshs but this wrapper does not work, I tried to set alias lssh=ssh but this also didn't work.

    So can you please help me to configure this so when ever I tried to run the sshs then It will also use this lssh wrapper from CLE project.

    This will be great help to me..

    enhancement 
    opened by bsahane 14
  • Error : x509 certificate signed by unknown authority

    Error : x509 certificate signed by unknown authority

    Hello,

    I want install sshs on Fedora 36. I use sources install. At moment use command make I have this error :

    image

    And the librairie openssl-libs it's installed.

    Do you have any ideas ? Thanks

    opened by Azrod43 6
  • Insufficient installation process?

    Insufficient installation process?

    2022/02/22 20:53:25 open C:\Users*****.ssh\config: The system cannot find the specified path.

    Appears after "successful" installation on Win 10 Pro 64 bit

    opened by Plaenkler 6
  • Implement scrolling.

    Implement scrolling.

    We have more than a hundred host entries. When we press the down arrow, the selector disappears after the first screen is over. We would like to have the selector stay in view and move the host list up.

    enhancement 
    opened by leeiitb 6
  • Can't delete search term in CMD

    Can't delete search term in CMD

    This happens when running sshs in CMD, PowerShell or Git Bash, so mainly Windows 10.

    For example, I type tablet and I get the filtered list, but pressing delete button the field doesn't respond.

    I confirm the search field works perfectly on Termux and Ubuntu.

    Greetings

    bug 
    opened by yzaguirre 6
  • Hostname is truncated if the name contains

    Hostname is truncated if the name contains "["

    Hi. Thank you for this awesome and simple tool.

    If a Hostname contains a [ character, the last character in the hostname is removed.

    image

    image

    To reproduce, add the below hosts to your config.

    Host "Host1 production"
      HostName example.org
      User username
    
    Host "Host2 production]"
      HostName example.org
      User username
    
    Host "Host3 [production]"
      HostName example.org
      User username
    
    Host "Host4 [production"
      HostName example.org
      User username
    
    bug 
    opened by Kerwood 5
  • panic: runtime error: index out of range [0] with length 0

    panic: runtime error: index out of range [0] with length 0

    I am getting the following when I am trying to invoke sshs on Arch Linux:

    panic: runtime error: index out of range [0] with length 0
    
    goroutine 1 [running]:
    github.com/quantumsheep/sshs/ui.NewHostsTable(0xc00012c1c0, {0xc000018be8, 0x7b6232}, {0x0, 0x0}, 0x0)
    	/home/runner/work/sshs/sshs/ui/hosts.go:121 +0x705
    github.com/quantumsheep/sshs/cmd.run(0xa81fc0, {0x7a3156, 0x0, 0x0})
    	/home/runner/work/sshs/sshs/cmd/root.go:64 +0x2f8
    github.com/spf13/cobra.(*Command).execute(0xa81fc0, {0xc000012200, 0x0, 0x0})
    	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x5f8
    github.com/spf13/cobra.(*Command).ExecuteC(0xa81fc0)
    	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3bc
    github.com/spf13/cobra.(*Command).Execute(...)
    	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
    github.com/quantumsheep/sshs/cmd.Execute()
    	/home/runner/work/sshs/sshs/cmd/root.go:100 +0x25
    main.main()
    	/home/runner/work/sshs/sshs/main.go:8 +0x17
    

    I have tried installing AUR as well as binaries from the releases section. What am I missing?

    opened by vinay-singh-in 3
  • Need an example config file

    Need an example config file

    Trying to get this to work on MacOS after downloading the latest release. My config file is empty, hence the menu is as well. No idea what the format of this file should look like. Can you please upload an example of this file with details on how things should be entered into the file?

    documentation 
    opened by jarrodCoombes 2
  • [BUG] 3.1.0 doesn’t sort host names

    [BUG] 3.1.0 doesn’t sort host names

    [email protected] ~ % sshs -v sshs version 3.1.0 (installed via brew on macOS 12.3.1/arm64)

    According to the commit history of 3.1.0 this version should sort the hosts by name, but it doesn’t seem to be the case:

    grafik bug 
    opened by ghoffart 1
  • FeatReq: sorting of entries

    FeatReq: sorting of entries

    A command line option for sshs like --sort would be nice to have, so that similar named entries are next to each other while browsing with the cursor keys.

    My .ssh/config has a lot of entries like

    GroupNameA-ServerName1 GroupNameA-ServerName2 GroupNameA-ServerName3 GroupNameB-ServerName1

    but not necessarily in this order in the config file. I could manually sort it, but …

    enhancement good first issue 
    opened by ghoffart 1
  • Fix connect for empty hostname

    Fix connect for empty hostname

    Added check for empty hostname that wraps the SSH connect call #12

    Actually, I thought that table.GetSelection() would return -1 or some error-like result, but it returns the 1st row (suppose it returns the last row selected). Hope this helps a bit at least 😃

    opened by penumbra23 1
  • Color fix for terminal with white background

    Color fix for terminal with white background

    Issue

    Can't see on light colour background (there are other lines underneath) image

    https://github.com/quantumsheep/sshs/blob/5e72c291538d100bbbf76c88be8c0c9362860987/ui/hosts.go#L232

    Possible resolution

    • Option 1: Detect the terminal's font colour and match the same
    • Option 2: provide some config option for set of colour templates
    • Option 3: force black background
    opened by Fran-Rg 0
  • SSH config parse error with global parameters

    SSH config parse error with global parameters

     %  sshs                                                                                                                         
    2022/06/14 17:48:46 /home/shreps/.ssh/config:0: config variable before Host variable
    
    %  head .ssh/config                                                                                                                                                                              
    AddressFamily inet
    
    Host bitbucket.org
        Hostname bitbucket.org
        User git
        ControlMaster no
    
    Host github.com
        StrictHostKeyChecking no
        User git
    

    sshs seems not understand / don't ignore the AddressFamily parameter in my ssh config file.

    opened by Shr3ps 5
  • Add description field

    Add description field

    First, thanks for this great tool !

    The only thing that is missing for my usage is a description field. It's not always easy to remember which project is on which host.

    Example:

    • Hostname = app-web-prd04
    • Description = Owncloud, WordPress

    We could search either on the hostname or the description field.

    But this field is not available: https://linux.die.net/man/5/ssh_config

    Is it possible ? Maybe it would require another config file ?

    opened by baptistebisson 4
  • Support for Alias

    Support for Alias

    I have a server that posess multiple alias :

    Host server01 server_fonctionnality [email protected]
            Hostname <IP>
            User <USER>
            Port 22
            IdentityFile ~/.ssh/<KEY>
    

    It seems that sshs try to access to a server named "server01 server_fonctionnality [email protected]" instead of one of the 3 aliases

    opened by Jalkar 1
  • Can't install on Fedora 35

    Can't install on Fedora 35

    Hello,

    I have tried to install via the one line command on my Fedora 35 server, but it did not work.

    Also I had to install "Development Tools" and "Development Libraries" before running the install script.

    [[email protected] ~]$ sudo dnf groupinstall "Development Tools" "Development Libraries"

    [[email protected] ~]$ curl --proto '=https' --tlsv1.2 -sSLf "https://git.io/JBhDb" | sudo sh
    
      Termscp configuration
    > Platform:      linux
    > Arch:          x86_64
    
    ? Install termscp 0.8.2? [y/N] y
    > Detected rpm on your system
    > Installing termscp via RPM package
    > Downloaded rpm package to /tmp/tmp.l8MyPzgPMv.rpm
    > Installing termscp, please wait…
    error: Failed dependencies:
    	libcrypto.so.10()(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    	libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    	libcrypto.so.10(OPENSSL_1.0.2)(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    	libcrypto.so.10(libcrypto.so.10)(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    	libssl.so.10()(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    	libssl.so.10(libssl.so.10)(64bit) is needed by termscp-0.8.2-1.el7.x86_64
    

    How can I fix this issue?

    Thanks!

    opened by excodex 3
Releases(3.2.0)
Owner
Nathanael Demacon
(ノ◕ヮ◕)ノ*:・゚✧
Nathanael Demacon
Edgevpn-gui - Graphical front-end for EdgeVPN

EdgeVPN GUI Create Decentralized private networks A simple GUI for EdgeVPN built with fyne. ?? Features Manage EdgeVPN versions locally from the GUI.

Ettore Di Giacinto 10 May 17, 2022
Extended ssh-agent which supports git commit signing over ssh

ssh-agentx ssh-agentx Rationale Requirements Configuration ssh-agentx Configuration ssh-gpg-signer Linux Windows Signing commits after configuration T

Wim 10 Jun 11, 2022
Golang `net/rpc` over SSH using installed SSH program

Golang net/rpc over SSH using installed SSH program This package implements a helper functions to launch an RPC client and server. It uses the install

null 0 Nov 5, 2021
Gsshrun - Running commands via ssh on the server/hosting (if ssh support) specified in the connection file

Gsshrun - Running commands via ssh on the server/hosting (if ssh support) specified in the connection file

Məhəmməd 3 Jun 9, 2022
one simple git ssh server (just for learning git over ssh )

wriet one simple git ssh server use golang write one simple git ssh server how to running starting service docker-compose up -d add authorized_keys i

rong fengliang 2 Mar 5, 2022
Command-line tool and library for Windows remote command execution in Go

WinRM for Go Note: if you're looking for the winrm command-line tool, this has been splitted from this project and is available at winrm-cli This is a

Brice Figureau 365 Jun 19, 2022
Control ssh access throught authorized_keys forced command

authcmd This is an attempt to port the 'only' script from MagmaSoft. The goal is

dranih 1 Jan 3, 2022
A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ.

q A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ. Usage q command line DNS client (https://github.com/natesales/q) Usage: q

Nate Sales 665 Jun 21, 2022
gnoic is a gNOI client command line interface

gnoic is a gNOI CLI client that provides support for gNOI Certificate Managment, File and System Services. Documentation available at https://gnoic.km

Karim Radhouani 11 Apr 1, 2022
mysshw - a free and open source ssh cli client soft.

mysshw install go version <= 1.16.* use go get go get -u github.com/cnphpbb/mysshw go version >= 1.17.* use go install go install github.com/cnphpbb/

cnphpbb 2 Dec 16, 2021
Synchronize ssh client config with lxc instances

Quickly add remote LXD instances to your ssh client configuration. Expecially useful for VS Code Remote/SSH development.

Brian Ketelsen 1 Nov 12, 2021
Simple ssh client for persistent host info.

zssh Simple ssh cli for persistent hosts information. Getting started (1) Go get and install $ go get -u github.com/zacscoding/zssh/... $ zssh --help

evan.kim 1 Dec 19, 2021
🖥️ Fast, modern and cross-platform SSH client

??️ Fast, modern and cross-platform SSH client Installation Build from source Requirements for building the project from source: Node 16 Go >= 1.17 Wa

Kamil Marut 2 Mar 20, 2022
Goph - A lightweight Go SSH client focusing on simplicity

Golang SSH Client. Fast and easy golang ssh client module. Goph is a lightweight

Serialt 0 May 26, 2022
📦 Command line peer-to-peer data transfer tool based on libp2p.

pcp - Peer Copy Command line peer-to-peer data transfer tool based on libp2p. Table of Contents Motivation Project Status How does it work? Usage Inst

Dennis Trautwein 862 Jun 23, 2022
⚙️ subnetting via command line

# Subnet subnetting via command line installation intall from binary file git clone https://github.com/nekonako/subnet.git cd subnet sudo ./install.sh

Galih wisnuaji 5 May 25, 2022
Aidos Kuneen (v2 network) daemon program that is controlled through the command line and remotely via RPC calls

adk-daemon: aidosd.v2 aidosd (v2) is a deamon which acts as bitcoind for adk. This version has been built specifically for network mesh version 2+ For

Aidos Kuneen 0 Dec 1, 2021
go-chat is a gRPC based chat CLI written in golang for command line lovers

go-chat go-chat is a gRPC based chat CLI written in golang for command line lovers. This CLI allows you to chat with your friends without leaving the

Piyush Jajoo 1 Dec 11, 2021
A simple command-line tool to manage ADRs in markdown format

Architecture Decision Records A simple command-line tool to manage ADRs in markdown format. Usage adr init [path] Initialize the ADR path and create a

Daniel Bos 1 Feb 10, 2022