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

feature: SSH password retrieval for kit connect #280

Open
0x70b1a5 opened this issue Nov 27, 2024 · 1 comment
Open

feature: SSH password retrieval for kit connect #280

0x70b1a5 opened this issue Nov 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@0x70b1a5
Copy link

Is your feature request related to a problem? Please describe.
I have to go and look up my silly password each time I restart my computer and reconnect

Describe the solution you'd like
either a (less secure) --password flag so that I can CTRL+R a oneliner to reconnect, or a (more secure) (working name) --config filename that reads a file for some password text, or a line that checks for the presence of an ENVIRONMENT_VARIABLE, or something else that stores the SSH password so I can just kit connect and get on with it, especially in a build script.

Describe alternatives you've considered
Keeping a stiff upper lip.

@0x70b1a5 0x70b1a5 added the enhancement New feature or request label Nov 27, 2024
@nick1udwig
Copy link
Collaborator

Hmm, my initial reaction here was to advise you to set up a pubkey on the remote server, but it sounds like you might be doing that already; can you confirm?

E.g. see guide here

Then you just have to add your SSH key to your ssh-agent (I think macOS uses a slightly different scheme with keychain(?) but its more-or-less the same). Its still a once-per-reboot situation, but you get to choose some password as opposed to a randomly-generated one like Valet gives.

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

2 participants