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.
Firstly try not to use telnet, use SSH instead.
Either way you use, login as a normal user and then 'su' to gain root privileges.
The reason is you don't want anyone to catch you typing your root password over a network connection. Telnet is terrible because is sends everything in plain text. SSH will encrypt the data, so when you're typing in your root password using su it's harder for anyone to listen to what you're typing.
The website for ir is here: www.openssh.org
You'll probably find it's already installed - depends on the distribution you're using. Give some more details on what flavour of Linux you're using (Red Hat, Mandrake etc) and someone will be able to help you. Google for information as well.
I'm afraid I'm just about to leave work so I can't help any more now. Sorry!
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
redhat, hmm, that should be rather simple then to enable ssh
all you have to do is ope a console as root and tye 'setup' at the root prompt then from that menu select 'system services'
from there you want to find the entry 'sshd' and make sure it's checked (with the space bar)
then hit the ok button then the quit button, sshd should now be running , and it will aslo automatically be enabled on reboot as well
As everybody else has been telling you, try not use telnet and especially as root. If you want to know if ssh is running type:
If you get a set of process numbers displayed anything like 1743 then it must be up and running. Then, if you had an account on the remote box called mickeymouse then you will type
ssh -l mickeymouse hostname
If it is your first login you will then be asked to type yes/no if you want to verify login. After typing yes you will be asked for the password.
By now you should be logged on.
The -l is a letter L and not a number 1
An alternative check for sshd is to type while not as root
Look in the list and you should see something like
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Last note is that the --list is 2 dashes not 1 dash.
Yeah, that's alright, that number is just the process id, anyway..I just wanted to say that, if your trying to access the ssh daemon from a windows box, the client to use would be putty..I noticed nobody put that...you could probably used google to find that out though, heh
Another thing to do since you're now on your way to becoming security mindful, is to run ntsysv and uncheck services/daemons you don't need. This will heighten security as well as free up more system resources.
Red Hat turns on a lot of uneeded stuff by default, so you'll probably want to tighten things down a bit.
Leave ssh running for remote access. I would make sure you have the most recent version however.
You can find out which version you're running by issuing ssh -V (note the capital 'V') from a command prompt/line.
You can either compile a newer version or grab the latest rpm from www.redhat.com.
I am an absolute newbie re Linux and my box has lost contact via keyboard (I think that the screensaver has locked up). Thanks for the discussion and tip/url re putty - I am now at least able to communicate with the box. Now to fix the problem without shutting down the phones...