Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi folks. Not sure if this qualifies as a security question but here is my situation.
My servers both running Fedora were inaccessible via ssh. I would get the prompt which meant that sshd was running but whenever I entered my password, the session would freeze then time out.
I have faced this before and have never quite figured out what the root cause is. At this point, i was wondering if there is another alternative method to log in in the event ssh fails short of enabling telnet because of its security implications?
Mosh makes the initial connection to the remote system via ssh, so sshd still has to be up and accessible on the remote system. Mosh uses ssh for authentication, and to start the mosh-server on the remote system. In the Op's case, ssh wasn't working, so neither would Mosh.
Hi folks. Not sure if this qualifies as a security question but here is my situation.
My servers both running Fedora were inaccessible via ssh. I would get the prompt which meant that sshd was running but whenever I entered my password, the session would freeze then time out.
I have faced this before and have never quite figured out what the root cause is. At this point, i was wondering if there is another alternative method to log in in the event ssh fails short of enabling telnet because of its security implications?
Anything along the lines of socat or netcat?
Given that you mention security, this might be out of the question, but have you considered SNMP?
SNMP on Linux can be set up to run/query external scripts. You COULD write a script to start telnet, and use SNMP to fire it off, thus opening the port when needed, if SSH is unavailable. Since it's your script, you could also have it try to bounce the SSH service first, and touch a temp file, so that if it's present when you issue that SNMP command again, it'll fire up telnet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.