-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add SSH Proxy #72
Conversation
- 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`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn, we've missed something important but easy to do.
it is no longer a parameter
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>
init() function and logging (aka flag not to delete it ever)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra is always not something we need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Description
Add SSH Proxy:
and related yaml to store in the database.
taught about the new Authentication struct (in the future).
default value is
0.0.0.0:2022
.scp
succeeds, it hangs and must be ctrl+C'd.This is not getting fixed in this PR.
This feature currently only supports SSH via username/password.
See the new example label creation:
When the fish node is running, you must query the application
resource UID and request
/access
(see new run applicationexample). These passwords are one time use only, in order
to get a new password, re-request
/access
.Related Issue
Toward #61.
Motivation and Context
Step 1: get
username
/password
SSH proxy configured for VMX driver.How Has This Been Tested?
Rigorous local testing only.
Types of changes
Checklist: