butlerx / wetty

Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)
https://butlerx.github.io/wetty
MIT License
4.32k stars 673 forks source link

--ssh-pass=<password> won't make effect #467

Open sinawic opened 1 year ago

sinawic commented 1 year ago

Describe the bug I've installed wetty by running npm i -g wetty

node --version

v16.16.0

npm --version

8.11.0

I try to start the service by running: wetty --ssh-host=localhost --ssh-port=22 --ssh-user=username --ssh-pass=password -p 2526

service starts successfully. but when I visit localhost:2526 I see the following message and cant use the service with trasport close and reconnect button

/usr/bin/env:sshpass: No such file or directory

Expected behavior I think I should get a passwordless connection to my ssh server.

Desktop: my uname -a: Linux devops 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

butlerx commented 1 year ago

Do you have sshpass installed on the host?


Cian Butler (butlerx)

Website: cianbutler.ie Github: github.com/butlerx

On Tue, 23 May 2023 at 10:03, sinawic @.***> wrote:

Describe the bug I've installed wetty by running npm i -g wetty

node --version

v16.16.0

npm --version

8.11.0

I try to start the service by running: wetty --ssh-host=localhost --ssh-port=22 --ssh-user=username --ssh-pass=password -p 2526

service starts successfully. but when I visit localhost:2526 I see the following message and cant use the service with trasport close and reconnect button

/usr/bin/env: sshpass: No such file or directory

Expected behavior I think I should get a passwordless connection to my ssh server.

Desktop: my uname -a: Linux devops 5.19.0-41-generic #42 https://github.com/butlerx/wetty/issues/42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

— Reply to this email directly, view it on GitHub https://github.com/butlerx/wetty/issues/467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGT4WWTYKBCQZSWK5M4DI3XHR4MTANCNFSM6AAAAAAYLSCUYA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sinawic commented 1 year ago

uh no! after I installed it it's working as expected. but I didn't see in on the readme, I guess it'd be better it's mentioned in the related section

thanks for the reply

gardiol commented 5 months ago

doesn't work for me tough

sinawic commented 5 months ago

@gardiol I think u should describe the error u r getting or any other data that someone might be able to help!

gardiol commented 5 months ago

I cannot login in any way using password authentication, but this might be an issue with my system after deeped inspection. I have bypassed using key based authentication, no need to put passwords around anyway in my opinion!