Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I usually SSH into my home system remotely with no issues.
As of last night, when I attempt to log into the system with PuTTY, here's what happens: It prompts me for a user name and accepts it. It then prompts me for a password, and it then immediately aborts with the message:"Server unexpectedly closed network connection".
I checked /var/cache/apt/archives/ to see if my last upgrade included an ssh package. It did not.
/var/log/auth.log shows this message for each login attempt:
Sep 30 21:47:00 austin sshd: Accepted keyboard-interactive/pam for myusername from 188.8.131.52 port 29260 ssh2
Sep 30 21:47:00 austin sshd: (pam_unix) session opened for user myusername by (uid=0)
Sep 30 21:47:00 austin sshd: fatal: PAM: pam_setcred(): Critical error - immediate abort
Sep 30 21:47:00 austin sshd: (pam_unix) session closed for user myusername
I checked my backup CD that I so wisely made a month ago and compared the /etc/ssh/sshd_config files and they are the same.
From another post, i figured out that by default, ubuntu puts ALL:ALL in hosts.deny file. So typically, the server would not be able to take any incoming http/ssh connection. You might like to remove the entry for the server to be able to take connections. Alternatively, you can selectively allow IPs in /etc/hosts.allow file.
The most likelly thing is that some updated package replaced your hosts.deny, hosts.allow, hosts.equiv, and hosts files with the default versions (of which the hosts.deny is set to ALL:ALL) what you have to do is that when you update packages you need to verify which config files it's replacing.