Giter Club home page Giter Club logo

lssh's Introduction

lssh - Lena SSH

Simple ssh profile management tool for the commandline.

Install

  • requires python 3.6 or higher
  • requires ssh and sshpass

Set your preferred editor with lssh config set editor nano
The default editor is nano

Copy content to a folder, cd into it and do the following:

chmod +x lssh.py
sudo ln -s /path/to/folder/lssh.py /usr/bin/lssh
sudo ln -s /path/to/folder/lssh-completion.bash /etc/bash_completion.d/lssh-completion.bash

Usage

  • Create a new profile: lssh profile create <name>
  • Open a profile: lssh profile show <name>
  • List all available profiles: lssh profile list
  • Connect to a profile: lssh connect <name> or lssh c <name>
  • Set your preferred editor: lssh config set editor <editor command>
  • Change search path for Profiles: lssh config set profile_home <path>
  • Open the config: lssh config open

Configuration

Option Type Default Comment
editor String nano The editor command used for opening configs and profiles
profile_home String {lssh_home}profiles/ The path to the location where lssh stores its profiles.

Profiles

Option Type Default Required? Comment
user String Yes The username to log in with
ip String Yes The IP of the remote Server
port Int 22 Yes The Port of the remote Server
password String No Password of remote user. Ignored if cert_file or password_file is set.
cert_file String No Path to certificate file to use for Login
password_file String No Path to file containing the password of the remote user. Ignored if cert_file is set.
comment String No A comment that will show up when lssh profile list is issued

lssh's People

Contributors

teekeks avatar peterduring avatar

Stargazers

 avatar

Watchers

 avatar

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.