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

Private key issue in upload #353

Open
afzalvii opened this issue May 31, 2023 · 2 comments
Open

Private key issue in upload #353

afzalvii opened this issue May 31, 2023 · 2 comments

Comments

@afzalvii
Copy link

afzalvii commented May 31, 2023

I tried to change the index.html to not upload .pem file but just dropdown, i put the pem file together with main.py handler.py in webssh folder, but when i select the pem file it will say invalid key. I guest my question is what should be the value or the file path in this value="webssh/key.pem">key<

@huashengdun
Copy link
Owner

huashengdun commented Jun 3, 2023

It is a multipart form.
The value of Private Key actually is the content of this file.
If you want to use a private key on your webssh server instead of your local computer, then you will have to change the code in files , including index.html, main.js and handler.py, I guess.

@afzalvii
Copy link
Author

afzalvii commented Jun 5, 2023

i tried but when i add it and then call the pem file it will have an error bad authentication. i guess have to change code in handler

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