Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 got a strange problem . Recently , I cannot connect to my Linux server from my windows using SSH (secure Shell ) Software suddenly . When i got connected then firstly it prompt for pasword and then I press my user also root user's password . But at that moment it hangs for a long time and cannot response anything . I dont understand the problem ..... Plz give me solution plz ...
Here i also mention that , there have no security changes in my server
Try running the ssh client in verbose mode to see how far through the login process you get.
I'm not sure about Windows ssh clients, but with the openssh client which runs on Linux you can add the -v option several times to display verbose information while the connection and login are working.
I got a strange problem . Recently , I cannot connect to my Linux server from my windows using SSH (secure Shell ) Software suddenly . When i got connected then firstly it prompt for pasword and then I press my user also root user's password . But at that moment it hangs for a long time and cannot response anything . I dont understand the problem
We need more information. You can stop the SSH daemon on the Linux machine and run it in interactive mode from the command line with either "-d" or "-v" (check your man pages) to produce debugging output. That will show you what is happening on the server, which is usually the place where handshaking and authentication problems occur.
From the output of ssh -v we can see that the authentication succeeded, so we can rule out some problem with that.
What happens next? Nothing at all? If so, it seems like the remote host is either having problems starting a shell, or perhaps there is something weird going on in the shell rc files. Did the .bashrc / .profile or similar file get edited at some point?
In any case, do you have physical access to the machine? If so, can you get a normal shell on it locally?
Try doing the log in, waiting a minute or so after it seems to be stuck, and then pressing control-C. If there is something in the .bashrc which is taking a long time to execute, pressing control-C might break out of that to a shell, and then you can edit the rc files and try to work out what is causing the lockup.