Giter Club home page Giter Club logo

Comments (4)

davrodpin avatar davrodpin commented on May 23, 2024

Could you provide the mole's output with the -v flag set?

from mole.

saltmaster-at avatar saltmaster-at commented on May 23, 2024

ssh-add -l
4096 SHA256:xxxxx /Users/martinmenhart/.ssh/id_rsa (RSA)
3072 SHA256:xxxxx /Users/martinmenhart/.ssh/id_dsa (DSA)

martinmenhart at MartinMsMBP-2 in ~
$ cat ~/.mole.conf
[tunnels]
[tunnels.rbproxy01]
local = [":8991"]
remote = [":8998"]
server = "redhybcprxp01"
key = ""
verbose = true
help = false
version = false
detach = false

martinmenhart at MartinMsMBP-2 in ~
$ mole -start rbproxy01 -v
DEBU[0000] cli options options="[local=:8991, remote=:8998, server=SOMESERVER, key=, verbose=true, help=false, version=false, detach=false]"
DEBU[0000] using ssh config file from: /Users/martinmenhart/.ssh/config
The key provided is secured by a password. Please provide it below:
Password:

martinmenhart at MartinMsMBP-2 in ~
$ ssh SOMESERVER date
Fri Oct 4 14:22:24 CEST 2019

from mole.

davrodpin avatar davrodpin commented on May 23, 2024

Thank, @saltmaster-at .

Mole does not include support for ssh-agent yet.

We could leverage the ssh-agent client from x/crypto/ssh to implement this feature.

from mole.

dmorgan81 avatar dmorgan81 commented on May 23, 2024

I'd like to take shot at this. I've got some preliminary changes that work, but need some cleanup.

Right now I'm just using whatever socket SSH_AUTH_SOCK points at. I don't really think this needs to be configurable as that is the environment variable set when starting ssh-agent traditionally (eval $(ssh-agent)).

from mole.

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.