Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 Eric,
Thanks for replying. Correct me if am wrong but i take it from reading previous posts that the need to generate a key as suggested by the thread you directed me to is if you want to connect via ssh but without a password.
My problem is from any machine within the LAN, i cannot connect via ssh to this freebsd box which is on our DMZ. Other boxes on the same zone cannot ssh to it either. Also telnet via port 25 is not possible but telnet via port 22 is. From inside the machine (accessing it via its webip), one can basically reach any other machine with ssh and telnet.
M trying to pinpoint what could be the cause of this problem.
If none of your computers can SSH into that machine, which you say is in your DMZ, then I'd first look at your firewall and routing and next to the sshd_config on the FreeBSD box and see if it accepts connections from the IP range of your LAN (since it will be different than from your DMZ). Also if you are connecting as root, do you have the PermitRootLogin set to yes on the sshd configuration?
The errors you get are an indication that authentication is failing, and ssh is trying other authentication sequences as far as I know.
have you generate the key ?
at least one of rsa or dsa key have to generated for make the server authenticate to the clients.
try explore the rsa-keygen command.
Hi all,
Issue was resolved. Later found that telnet through port 25 was also taking it's time.
Updated a script on the server that disabled RDNS that seemed to be causing the server to be really slow and timeout eventually hence the inability to SSH and telnet on port 25.
Server is fine now.... can SSH, telnet etc just like before.
Thanks everyone for the help and suggestions and cant wait to be able to post again with a question or to help someone else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.