Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update handler.py #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update handler.py #144

wants to merge 1 commit into from

Commits on Apr 6, 2020

  1. Update handler.py

    Add SSH Agent key support.
    
    Allows for SSH Agent use and key support if the local OS is setup for it thanks to Paramikos support of this.
    
    Courtesy of this excerpt
    https://github.com/paramiko/paramiko/blob/ae3d0febef17a8ece5268bbf6c210a30573ce800/demos/demo.py#L41-L59
    
    and my mod adding "allow_agent=True, look_for_keys=True," to the string
    ssh.connect(*args, allow_agent=True, look_for_keys=True, timeout=options.timeout)
    
    This is working perfectly for me on Linux project and should work in Windows as well.
    http://docs.paramiko.org/en/stable/api/agent.html
    
    This will allow for easy switching of servers and key management for those embedding into custom apps.
    whattheserver authored Apr 6, 2020
    Configuration menu
    Copy the full SHA
    a8f37c8 View commit details
    Browse the repository at this point in the history