-
Notifications
You must be signed in to change notification settings - Fork 97
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
Problems running sshttp #4
Comments
The reason is because to bind to a port < 1024, you must be "root". Please note that it's a feature from the OS rather than a bug in sshttp. |
Right. That's why I tried sudo and authbind because they should allow me to use restricted ports. I've tried random ports above 1024 but I get
which is similar to what I get when using authbind and port 443. If I use sudo the output is still the same
I have an http server running on 80 and ssh on 22 so I'm not sure why I can't get this to run |
Yes, you need to run sshttp as root. it will then drop to specified user (default nobody) |
solved I guess |
I'm trying to run this on a rasp pi.
I downloaded project,
modified nf-setup with
SSH_PORT=22
HTTP_PORT=4433
ran
make
then if I run
./sshttpd -L 443
I get
and if I use sudo I get
I also tried using authbind instead of sudo and I get
Anyone able to help with this? Thanks
The text was updated successfully, but these errors were encountered: