Giter Site home page Giter Site logo

ulauncher-ssh's People

Contributors

brpaz avatar jetbug123 avatar kalagon avatar kkreso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ulauncher-ssh's Issues

Duplicate connections

First of all, great job with this extension :)

I define my ssh connections in the file ~/.ssh/config as you can see below.

## OpenMediavault ##
Host nas
	HostName 192.168.1.25
	User tzinm
	IdentityFile ~/.ssh/id_rsa.pub

It works great, it appears in Ulancher and I can start a ssh session with nas name. The "problem" is that I have the ssh sessions duplicate, because it takes the config file connections and the known_hosts file connections.

Is there any way to solve this?

Thanks!

Request: include a brief in README.md on how to add connections

It took me a few minutes and a look at the source code to figure out how to add connections to the list that this extension displays via uLauncher (initially I was expecting this extension will have some sort of editor to add/modify/remove connections so I was lost).

I suggest adding something like the following to the README.md file of this extension repo to save people some search time and the developer some time answering basic questions

How to add SSH Connections

This extension builds the connection list automatically by extracting "Host" entries in the current user's ~/.ssh/config file.

For examples and details on how to add entries to the ssh config file, see for instance this link

This is a typical host entry in .ssh/config:

## Home nas server ##
Host nas
     HostName 192.168.1.100
     User root

If you have configured passwordless ssh login for this host/server, clicking on the 'nas' host entry in ulauncher will open a terminal and log you in the server automatically.

Support multiple host names

ulauncher-ssh works great but fails for hosts which have multiple names for Host:

Host foo.org bar.net
  Hostname 1.2.3.4

on the cl, i can use:

 ssh foo.org

or

ssh bar.net

Ulauncher fails to connect to such a host because it doesn't consider this as two hosts.

terminal doesn't launch

I have everything setup in .ssh. I'm actually using the config setting for the CLI. What is needed to initiate it in Ulauncher. I'm on Linux Mint 19 and using Terminator

Getting Host variable instead of HostName

Hi all. I try the extension, and i notice that instead of getting the Host variable from .ssh/config file, only to show which host you are about to connect, it use the same variable as a prefix for ssh connection

And also it does not show you the what is written on Host when you type ssh on Ulauncher.

Example:
For this in the .ssh/config file

Host TestingHost
      HostName testing.com
      User testadmin

when you write ssh in the ulauncher and select it try to connect to testadmin@TestingHost


If you change config file into

Host testing.com
      HostName testing.com
      User testadmin

it works as a charm :)

Could you please fix it?
So i can write meaningful things on the Host variable so i can search it by words not by nubmers ( if HostName ) is an a IP

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.