Comments (2)
vSSH uses standard ssh client config from Go ssh library (*ssh.ClientConfig) so developer can create their own function to generate it. as you said you can create GetConfigFoo(.....) *ssh.ClientConfig
vs := vssh.New().Start()
config := GetConfigFoo(........)
vs.AddClient("54.241.122.224:22", config, vssh.SetMaxSessions(4))
.
.
.
func GetConfigFoo(.....) *ssh.ClientConfig {
}
In fact I added the GetConfigPEM as sample at helper Go file but what I like in this case is remote secret managements like Vault Hashicorp. I think getting the pem block from them is a great solution!
from vssh.
This is a good point thanks :)
from vssh.
Related Issues (12)
- Bogus example in comment/README.md HOT 1
- Race condition HOT 1
- msg stdout has been dropped HOT 4
- does it supports for batch upload files HOT 2
- how to use exist ssh client?
- Provide direct access to ssh.Session.StdoutPipe
- SetInitNumProc compile error HOT 1
- Run multiple commands in one SSH session
- Source ip/host? HOT 1
- Race conditions HOT 1
- Empty resp.ID() HOT 1
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 vssh.