LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-01-2002, 11:35 AM   #1
GrayLOK
LQ Newbie
 
Registered: Jul 2002
Location: Sydney
Distribution: Redhat 7.1
Posts: 12

Rep: Reputation: 0
Unhappy ssh - server


Hi all,

Not sure if this is the right group or not but as I see myself as a newbie I thought this group appropriate. Please forgive.

Ok, I am trying to shh into my RH 7.1 system from a winXP box and cant, I get the "connection refused" Downloaded putty from winbox etc. I have read all sorts in here and haven't found a solution. I think I have discovered that I don't seem to be running the server side of ssh only the client as I cant find anything to do sshd on the system. I want to install the server but don't know what to install. I am assuming that I can find the server part on the distro cds I just need to know the RPM name for the server part os ssh.

Help most appreciated
 
Old 08-01-2002, 09:46 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If you mount your RH CDs, and look for any packages on them with ssh in them, then you're on the right track. It is possible that you already have ssh installed, but you're not running it! Open a terminal and change to the root user, then type ssh and then press <TAB>. You should get a list of programs beginning with ssh, and hopefully sshd will be amongst them. Once you have established that you do have sshd installed, then you need to start it. You can do this by running sshd, but you ideally want it to run at startup, don't you? I'm not sure how RH7.1 would do this (possible Linuxconf, but I personally never liked Linuxconf), but you're looking for the 'startup services'. If you feel like doing things the hard way, then you could edit your rc.d files manually in /etc/rc.d, but I wouldn't suggest it for the faint hearted.

Hope this helps (a little).
 
Old 08-01-2002, 11:06 PM   #3
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
The way I get most of my services to start at bootup, at least on my redhat machine is to get to command line su to root and type ntsysv --level 345 and you can see and check any servers you want to have start at bootup, once you are done there, reboot and have fun.
 
Old 08-02-2002, 08:09 AM   #4
GrayLOK
LQ Newbie
 
Registered: Jul 2002
Location: Sydney
Distribution: Redhat 7.1
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, thanks guys. Thymox, I have done the double tab to see and saw that I didn't have sshd installed just client stuff "...askpass" etc. So what I tried was to go back to orig RPMS and install again on the cd I found the RPMS: openssh-2.5.2p2-5.i386.rpm
openssh-askpass-2.5.2p2-5.i386.rpm
openssh-askpass-gnome-2.5.2p2-5.i386.rpm
openssh-clients-2.5.2p2-5.i386.rpm
openssh-server-2.5.2p2-5.i386.rpm

So I copied these to a temp directory cd'd to it and su'd to root and entered, "rpm -Uvh --test *shh*" it replied that the current ssh files were newer than the ones I was trying to install. How I got the newer versions I dont know, none the less they were only the client ones installed. Anyway, after rpm -e ssh (newer file name) though them I removed all ssh realated files. I then did a quick rpm -Uvh --test *shh* in the directory that I copied the ssh rpm's to and had a clean result. So I went ahead and installed them. Went to a console ctrl+alt F2 logged in as root and run "setup" in the list of "System services" I could now see sshd in list of services.

Right now I have typed sshd as root and no go. Ok, I have just run webmin and started the service ... Woopie I can now login from winxp box. My quest is over ...

Cheers
 
Old 08-02-2002, 07:05 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,576

Rep: Reputation: 191Reputation: 191
Try to update your ssh. The one you have is quite old and there were security bugs reported in ssh in the last few months...
 
Old 08-02-2002, 10:05 PM   #6
GrayLOK
LQ Newbie
 
Registered: Jul 2002
Location: Sydney
Distribution: Redhat 7.1
Posts: 12

Original Poster
Rep: Reputation: 0
Cheer Mara I will do.
 
  


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
x server over ssh? berrance Linux - Software 2 11-02-2004 06:18 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
Can't ssh to server when server is in runlevel 5? begacjj Linux - Networking 11 06-26-2003 02:15 PM
ssh server Sph1nX Linux - Software 1 03-01-2003 06:59 PM
router, name server, web server, ssh, mailserver dilberim82 Linux - Security 9 07-26-2001 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 PM.

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