|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
||||
|
||||
|
Configuring a Linux box to accept SSH
Hi folks,
At the moment, I've got two machines (1 XP, 1 RH 7.3) running off of the same monitor. This involves a lot of tedious switching between the two, and it's starting to give me the irrits ![]() So, is there any way I can configure my Red Hat box to accept SSH connections? This way, I can leave the monitor to WinXP, fire up Putty, and away we go. I've done a fair amount of searching, but all of my results turned up connecting to an SSH server as a client (I need the reverse). Any tips/articles/guides at all? Thanks, -Jeb. |
|
#2
|
|||
|
|||
|
Are you sure it isn't already running? It runs under the inetd process so I believe the file you need to edit is /etc/inetd.conf and enable it. There used to be a utility on 7.2 callet ntsysv that allowed you to start/stop these daemons, you may want to try that as well.
|
|
#3
|
|||
|
|||
|
Quote:
from what you told: no. you need the "standard" way. why would a server want to connect to a client? by definition, the client would become server and the server would become client then... ![]()
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#4
|
||||
|
||||
|
Ah, of course. Well, it made sense when I was writing it lol
![]() I'll have a dig around in inetd.conf and see what I can turn up. [edit] Well, it appears I don't have an /etc/inetd.conf file (unless it's in a different place, a find didn't turn up anything though) A ntsysv also revealed no SSH services. Could this mean I didn't opt to install it? I'll have a dig through the RPM's on the Red Hat CD's and see if I can find anything there. [/edit] Thanks for the help folks, much appreciated. ![]() Last edited by Jeb. : February 18th, 2003 at 01:53 AM. |
|
#5
|
|||
|
|||
|
Did you choose a server or workstation class install?
I'm not sure if this makes a difference, but if you choose server class you have the option of enabling ssh during installation... Steve. |
|
#6
|
||||
|
||||
|
When I setup my two computers with RH7.3 I did one as a server class and one as a workstation class, and both have SSH installed, but it was only setup to run on the server computer. What you can do is (as root) run service sshd start to start SSH manually, or use the chkconfig command to set SSH to start automatically when the computer boots up.
chkconfig --levels 2345 sshd on |
|
#7
|
||||
|
||||
|
Thanks, I'll check those things when I get home - at a course right now. I chose a custom install, rather than a server or workstation install.
![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Configuring a Linux box to accept SSH |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|