LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-23-2003, 01:02 AM   #1
gravyflex
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
SSH and Red Hat 7.3


Mi a run Red Hat 7.3 on one pc and Windows 2000 on the next. both a the machines are linked by a xover cable. Due to the fact that mi only have one monitor and I am tired of switching the cable between computers I wanted to set up telnet so I could contoll the linuix pc mostly from the Windows one.

Everyone on the online forums keep saying that mi should use ssh insted cause it more secure. Mi have since download putty one the Win2000 pc. I have verified that openssh is installed on the Red Hat pc. I have so far be unable to get the ssh server up. If someone will be kinda enough to give me a little walk though.

This is stressing me a right about now mi bout ready fi bun fire fi linux (smile)
 
Old 03-23-2003, 01:10 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
is sshd running on the host (linux) machine?

'ps -ef | grep sshd'
 
Old 03-23-2003, 01:36 AM   #3
gravyflex
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Got the following response:

2600-2559 0 02:38 pts/1 00:00:00 grep sshd

I don't think it running.
 
Old 03-23-2003, 11:56 AM   #4
twolf
LQ Newbie
 
Registered: Mar 2003
Location: CZ/USA
Posts: 24

Rep: Reputation: 15
do you need SSH?

Hi,
I just want to ask you a question. Do you need a secure, encrypted link? I would assume that it is your home PCs and you do not run classified or any very confidential data.
I see that you have them connecte by Xcable and presume that Internet connection is through one of the serial cables - or internal modem on the Windows machine.

To make SSH work you need to install SSH deamon on the linux machine and SSH client on your - because if you use a regullar telnet client (ie. C:\WinNT\system32\telnet.exe) it will 'fall back' to a telnet session (unencrypted).

To get this done you need to find the SSH deamon RPMs and install them + install some SSH client on the Windows side. But to go through such search & install, you might as well use telnet -- for a simple reason that security measures should be compared to a possible threats. So if the Xcable runns in you home - no wiretapping should be possible - but if it runs outside - SSH is a very good idea.

I hope this was helpfull in some way...
Tomas
 
Old 03-23-2003, 12:07 PM   #5
gravyflex
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Security is not an issue. Telnet will have to do for now.
 
Old 03-23-2003, 12:59 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Telnet is becoming obsolete because ssh is much more powerful and much more secure. Do not fall into the trap of saying you don't have any important data on your machine so why should I secure it. If someone cracks your system and uses it to launch an attack YOU will be help responsible.

Don't be afraid to go the SSH route. If you need help with installing or running it linuxquestions.org is always here for you.
 
Old 03-23-2003, 02:23 PM   #7
twolf
LQ Newbie
 
Registered: Mar 2003
Location: CZ/USA
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by Crashed_Again
Do not fall into the trap of saying you don't have any important data on your machine so why should I secure it. If someone cracks your system and uses it to launch an attack YOU will be help responsible.
I'm behind the statement of possible use of your machine for DDoS or other attacks by malicious user!
But how imagine the hardware to be situared:
both PCs are in the same room. W2K has connection to the internet (modem, ADSL, cable...). Inside the W2K is a NIC that is connected by xover cable to the linuxbox (couple of meters/feet away). W2K then could be considered as a double-hosted station sitting between the public and the privat section of the network. I don't know if routing is enabled, but I guess not - therefore one would have to compromise W2K to get anywhere further - and from that point on the ssh itself is pointless, if a keylogger is installed... Don't you think? I know that I might be overseeing some important issue, so please help me see it.
Thanks Tomas
 
Old 03-23-2003, 02:29 PM   #8
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
1.Try running chkconfig to see if you have ssh on:

chkconfig --list | grep ssh

You should see sshd on at runlevels 3 and 5
If it's not on then use:
chkconfig --level 35 sshd on
service sshd restart

2. Check the output of netstat -la

You should see an entry that ssh is listening

HTH
 
Old 03-23-2003, 05:57 PM   #9
gravyflex
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
The packages where not installed for the ssh service. I got the correct package so I am making some progress.

I am trying to learn linux and the learning curve for ssh is a lot steeper than telnet. Also I want to know how to use telnet for knowing sake. As fustrating as this has been it all worth it. And I appreciate the caution because without it I would not have known about ssh.
 
Old 03-23-2003, 10:12 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Any specific problems with ssh?

There isn't much to know about telnet. You connect to the telnet server transmitting plain text. This means anyone who sits in between your connection can intercept the packets and read everything you sent including username and password. A neat thing to do is start up Ethereal or tcpdump to intercept packets coming into your machine. Then telnet into your machine. You will see the output of your packets and see everything you sent in plain text.

Hopefully after doing this you will become paranoid like me and decide that ssh is the only way to go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 06:19 AM
can ssh to box but can't log into red hat when sitting in front of it naijaguy Linux - General 9 01-20-2005 04:00 PM
SSH on a Red Hat 9.0 VM guest question THE RADICAL Red Hat 1 01-12-2005 02:40 AM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 07:33 PM
SSH on Red Hat 6.2 markma Linux - Security 4 12-21-2000 09:19 AM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration