Comments (3)
For the sake of posterity, I solved this issue on my server (CentOS Stream 8) by adapting some of the advice there:
Prerequisite: change ssh port
- remove everything if already compiled from source
/etc/endlessh/
,/etc/systemd/system/endlessh.service
,/usr/local/bin/endlessh
. - install
endlessh
properly fromdnf
- change port configuration defined in
/etc/endlessh/config
to 22 (I want it to replace standard ssh without messing withiptables
). - follow indications from
/usr/lib/systemd/system/endlessh.service
to run withport < 1024
systemctl start endlessh
andsystemctl enable endlessh
All done :)
from endlessh.
You're using a custom build instead of the package in EPEL, right? If so, could you try with the package in EPEL?
# dnf install epel-release -y && dnf install endlessh -y
Checking the error log, it exits with a 203 error. systemd's documentation states that 203 is due to:
"The actual process execution failed (specifically, the execve(2) system call). Most likely this is caused by a missing or non-accessible executable file."
https://freedesktop.org/software/systemd/man/systemd.exec.html#id-1.20.8
Can you try to launch endlessh manually?
from endlessh.
Ok found my problem now... the executable file shouldn't be inside /usr/local/bin
instead it should located inside /usr/bin
. That was the difference between my centos 7 and 8 installation.
from endlessh.
Related Issues (20)
- Log in local timezone HOT 3
- InaccessiblePaths=/run /var makes systemd service not start on Raspberry pi HOT 1
- Is it possible to run it on Debian 9?
- (code=exited, status=1/FAILURE) HOT 19
- no config after installing with apt HOT 5
- [announcement] Multi-arch docker image by linuxserver.io released HOT 1
- can't start endlessh service "Failed at step NAMESPACE" HOT 3
- Logging - where? HOT 2
- Random message delay?
- Why not set a non-privileged user in systemd unit file? HOT 5
- Request for Pacstall Support HOT 1
- TCP v4 is not default HOT 2
- need way to define IP to bind/listen to. Port= is not sufficent HOT 2
- USR1 should output stats regardless of LogLevel
- setcap 'cap_net_bind_service=+ep' does not work HOT 1
- [Feature]: Add option to upload IP addresses to aggregators like AbuseIPDB
- i have a proble in pmta
- Allow specifying legitimate looking Headers
- Can't start endlessh service "Failed at step NAMESPACE", "status=1/FAILURE", "too many arguments" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endlessh.