Code Monkey home page Code Monkey logo

Comments (5)

t-cas avatar t-cas commented on July 19, 2024

Hi @jufei,

it seems to be a bug but I have few questions to confirm it:

  • do you have an agent running locally and some keys forwarded ?
  • is it still working if you check for presence of ssh agent, modifying locally session.py with code:
    if paramiko.agent.Agent().get_keys():
         paramiko.agent.AgentRequestHandler(channel)
    

Thanks

from jumpssh.

jufei avatar jufei commented on July 19, 2024

hi, @t-cas:
Thanks for your response.
I think I does not run agent locally, would you please tell me how to verify it? I use Centos 7.

And yes, after change the session.py with your code, it is ok now.

Thanks.

from jumpssh.

t-cas avatar t-cas commented on July 19, 2024

Thank for your quick answer.

to check if you have a running agent locally, simply run ssh-add -l and if you get

  • "Error connecting to agent" (and exit code 2) => no agent running
  • "The agent has no identities." (and exit code 1) => agent running but without any key loaded
  • a list of keys (and exit code 0) => agent running with keys just displayed

but if my code is working it confirms you don't have a running agent locally, I will submit a patch with that fix.

from jumpssh.

jufei avatar jufei commented on July 19, 2024
[root@runner_132 work]# ssh-add -l
Could not open a connection to your authentication agent.
[root@runner_132 work]# 

Thanks and I will wait for your new version.

from jumpssh.

t-cas avatar t-cas commented on July 19, 2024

Delivered in release 1.6.4

from jumpssh.

Related Issues (20)

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.