Comments (4)
Could you provide the mole's output with the -v
flag set?
from mole.
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.
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.
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)
- Question on Usage: Define source as a non-existent hostname/domain name HOT 1
- logon using privatekey denied. error ssh: handshake failed: knownhosts: key is unknown HOT 1
- error runtime: bad pointer in frame github.com/konsorten/go-windows-terminal-sequences HOT 1
- Fix `add alias` help
- request for ENHANCEMENT: [github] xanzy/ssh-agent and/or passphrases for private keys ... HOT 3
- Feature request: unix socket forwarding
- Key mismatch HOT 8
- Missing `config` attribute on `<alias>.toml` file causing application to fail HOT 2
- New feature: SOCKS support
- ProxyCommand parameter in config not used, cannot use ssh proxy jump host HOT 1
- Can't get running configuration of detached instance HOT 1
- [Feature Request] Support aarch64 architecture for Raspberry Pi HOT 1
- [Feature Request] Support Remote Forwarding HOT 1
- [Feature Request] alias for remote port forwarding HOT 1
- Find another way to find is key is encrypted
- --detach not working HOT 8
- Mole not support ssh Include configuration files
- Show instances is not returning anything
- How to
- Ignoring IdentityAgent from SSH config and -A CLI option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mole.