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

connect to servers by ssh #26

Open
98sean98 opened this issue Aug 25, 2023 · 0 comments
Open

connect to servers by ssh #26

98sean98 opened this issue Aug 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@98sean98
Copy link
Contributor

A user should be able to do a deploifai server connect [project-name]/[server-name] that will establish an ssh connection and tunnel whatever ports that are useful.

The command should do these 3 things:

  • download the ssh key
  • do chmod 400 on the ssh key, need to be careful about what works on windows
  • make ssh connection with port tunneling, need to figure out a random available port on the local machine to avoid port collision

After running the command, the user should see

  • spinners for each step, as they happen, at least for the steps that take some time
  • which port on the local machine is being used, and for what service
@98sean98 98sean98 added the enhancement New feature or request label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant