Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSH Proxy #72

Merged
merged 6 commits into from
Jul 11, 2024
Merged

Add SSH Proxy #72

merged 6 commits into from
Jul 11, 2024

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    94e0953 View commit details
    Browse the repository at this point in the history
  2. Add SSH proxy

    - Create additional ResourceAccess and Authentication structures
      and related yaml to store in the database.
    - The only supported driver is VMX.  All other drivers need to be
      taught about the new Authentication struct (in the future).
    - Add ProxySshAddress configuration variable to fish Config, the
      default value is `0.0.0.0:2022`.
    - Add corresponding SSH examples.
    
    This feature currently only supports SSH via username/password.
    See the new example label creation:
    
    ```
    authentication:
      username: packer
      password: packer
    ```
    
    When the fish node is running, you must query the application
    resource UID and request `/access` (see new run application
    example).  These passwords are **one time use only**, in order
    to get a new password, re-request `/access`.
    svenevs committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    03185ee View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. fixup: remove stale comment about listener already being open

    it is no longer a parameter
    svenevs committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e8a1550 View commit details
    Browse the repository at this point in the history
  2. generate id_rsa if not provided

    added new fish config var NodeSSHKey, chose Node prefix
    since we could imagine "SSHKey" becoming overloaded / confusing
    down the road.  renaming might be needed
    
    - cfg: NodeSSHKey
    - file: ${node.name}_id_rsa
    - file: ${node.name}_id_rsa.pub <unused, but still generated>
    svenevs committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    138b303 View commit details
    Browse the repository at this point in the history
  3. fix log verbiage, add note indicating _why_ we are adding the

    init() function and logging (aka flag not to delete it ever)
    svenevs committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    92a0048 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9db240c View commit details
    Browse the repository at this point in the history