Git Product home page Git Product logo

Comments (7)

rothgar avatar rothgar commented on September 13, 2024

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.

owenthereal avatar owenthereal commented on September 13, 2024

upterm should already read keys from ssh-agent first then fall back to key files:

signers, cleanup, err := SignersFromSSHAgent(socket, privateKeys)
. Please upgrade to the latest version and let me know if that works

from upterm.

rothgar avatar rothgar commented on September 13, 2024

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.

owenthereal avatar owenthereal commented on September 13, 2024

@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.

rothgar avatar rothgar commented on September 13, 2024

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.

MichaelBitard avatar MichaelBitard commented on September 13, 2024

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.

MichaelBitard avatar MichaelBitard commented on September 13, 2024

Thanks! I'll try this soon!

from upterm.

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.