Giter Club home page Giter Club logo

Comments (3)

Ziip-dev avatar Ziip-dev commented on August 15, 2024 1

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

  1. remove everything if already compiled from source /etc/endlessh/, /etc/systemd/system/endlessh.service, /usr/local/bin/endlessh.
  2. install endlessh properly from dnf
  3. change port configuration defined in /etc/endlessh/config to 22 (I want it to replace standard ssh without messing with iptables).
  4. follow indications from /usr/lib/systemd/system/endlessh.service to run with port < 1024
  5. systemctl start endlessh and systemctl enable endlessh

All done :)

from endlessh.

mikelolasagasti avatar mikelolasagasti commented on August 15, 2024

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.

nicedevil007 avatar nicedevil007 commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.