Coder Social home page Coder Social logo

ssh_manager's People

Contributors

lolipain avatar

Watchers

 avatar

ssh_manager's Issues

Try to execute command generated by shellscript

Describe your suggestion here

You can also attach some code snippets or screenshots


Run 'hostname' 'username' command generated by shellscript before attempting to execute sshpass -p
Alternatively possible to create a specified envvar using stored data without plain executing command

Why do you think that is a good update?

  • Will be useful for those who forget to execute it by themselfs

Shellscript won't work with supported shell

Definitely a ssh_manager issue

There's a non-zero chance of your issue to pend isn't really related to ssh_manager, so please make sure that:

  1. Re-read the README installation and configuration guide and follow all of those steps
  2. Verify that $servername_user environment that should contain the password for the remote machine exists in your current shell session:
    @ echo $servername_user
    (Where servername and user are matching the entry in ssh_manager storage)
  3. Verify sshpass -p direct connection to remote:
    @ sshpass -p $servername_user ssh user@remoteip
    NOTE that user in $servername_user should be exactly the same as user in ssh user@remoteip
  4. Verify python installation itself:
    @ python3 -V
    OR
    @ python3.x -V where's x is your python release

Checklist:

  • My issue is not related to connection problems or I'm aware that my ssh_manager storage and shell environment is fine
    • Direct connection using sshpass -p is performed, but connection through ssh_manager seems inappropriate
  • Broken functionality is declared and documented in the README project description

A detailed explanation of the issue goes here

Screenshots, screencasts, and other useful information are welcome


Some shell are manages to bind itself inside /usr/local/bin/ instead /usr/bin/
So preventing usage of shellscript even with supported shells due to
https://github.com/LoliPain/ssh_manager/blob/92fd48c65939cf1dcb57578ea778ca5c47d9b1d3/main.py#L23C1-L33

Proper solution will be extend those case clause with /usr/local/bin prefixes

Interactive remove existing connection from storage

Describe your suggestion here

You can also attach some code snippets or screenshots


Add launch parameter for interactive removing of existing connection via tui menu

Why do you think that is a good update?

  • Interactive removing always more convenient
  • For now it's inconsistent storage location and depended by installation method
    ...

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.