deploifai / deploifai/cli-go

connect to servers by ssh

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.