Comments (7)
Another option from discussions in #72 is maybe we could create temporary public/private keys when running upterm host
. I'm not sure the client ever cares what the private key from the server to upterm connection host is. Maybe I'm still understanding what the private key is actually used for on the host.
from upterm.
upterm
should already read keys from ssh-agent first then fall back to key files:
Line 60 in 44f1490
from upterm.
My use case is on temporary hosts that don't have ssh keys or ssh-agent available. In that case it would be great if there were an easier way to create the ssh tunnel connection
from upterm.
@rothgar upterm starts an sshd server on the host and the ssh keys are used to establish a secured tunnel between the host and the uptermd server: https://github.com/owenthereal/upterm#how-it-works. There are tools like ssh-keygen to generate keys already, are you looking for upterm to generate the keys for you instead?
from upterm.
Yes, automatically generating a key (or having a flag to auto generate a key) is what I was thinking. I know users can create ssh keys but in the case that the machine/user doesn't have a key it would be nice to automatically generate a temporary key for the initial tunnel.
This would be especially useful on temporary cloud instances or from inside containers.
from upterm.
The problem is, the --private-key
argument is mandatory, and I don't have one since my private key is not physically accessible (it's in my keepass2 vault)
from upterm.
Thanks! I'll try this soon!
from upterm.
Related Issues (20)
- server uptermd.upterm.dev is not connectable in github action runner
- Client sessions change dimensions of host terminal. HOT 1
- "Server refuse our key" if upterm client lost time sync
- Bug: unknown flag: --vscode HOT 1
- Incompatibility with a running gpg-agent as ssh-agent?
- Support running host in daemon mode? HOT 1
- config file for `upterm host` command
- source labels on metrics
- feature request: upterm host should shutdown if no connection is established within a given time frame
- Support tunneling of commands
- Integration with zellij for "multiplayer" support? HOT 1
- uptermd with websockets: "FATA[0006] EOF" and "error waiting for pipe" error since 0.13.1 HOT 3
- Distribution-based package formats install binary at the wrong place HOT 1
- Restrict access to uptermd HOT 1
- Tmux fails to start, but only on macOS HOT 1
- "FLY_APP_NAME is not set" on upgrade HOT 1
- Upterm host doesn't work if there's no `id_rsa` keys in `~/.ssh` folder HOT 1
- "Waiting for upterm to be ready" failed with heroku server deploy
- Allow `upterm host` to authorise users on self-hosted versions of supported version control services
- Bug with `screen` splitting
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 upterm.