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

[alternative solution] Allow ssh access through ssh-key directly through launch_ssh_cloudflared() #75

Open
pvmilk opened this issue Mar 10, 2021 · 1 comment

Comments

@pvmilk
Copy link

pvmilk commented Mar 10, 2021

Is your feature request related to a problem? Please describe.
This is a not problem, but typing password every times is a bit bothersome.

Describe the solution you'd like
Allow public key to be specified directly in launch_ssh_cloudflared(), as an alternative to password.

And I think it can be cone easily by,

pubkey = 'ssh-rsa INSERT PUBLIC KEY HERE'
with open('/root/.ssh/authorized_keys', 'w') as text_file:
    print('{}'.format(pubkey), file=text_file

Describe alternatives you've considered
I think this could be an easier solution than having to copy them in the git repository and call init_git_cloudflared()

@WassimBenzarti
Copy link
Owner

Hello @pvmilk, good to see you around here :)
Welcome to the colab-ssh community!

I agree that this could make things a bit easier. Since the latest changes, the password has to be typed each time the user chooses a folder on VSCode.
I will look into it in the next few days. If anyone wants to help, they are absolutely most welcome.

Have a great rest of the day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants