butlerx/wetty

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

sinawic opened this issue · 5 comments

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

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