Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 17th, 2003, 04:25 AM
Jeb.'s Avatar
Jeb. Jeb. is offline
Gogo Google.
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Adelaide, Australia
Posts: 226 Jeb. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to Jeb.
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.

Reply With Quote
  #2  
Old February 17th, 2003, 12:53 PM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 21 h 49 m 55 sec
Reputation Power: 19
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.

Reply With Quote
  #3  
Old February 17th, 2003, 01:24 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
(I need the reverse).

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.

Reply With Quote
  #4  
Old February 18th, 2003, 01:32 AM
Jeb.'s Avatar
Jeb. Jeb. is offline
Gogo Google.
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Adelaide, Australia
Posts: 226 Jeb. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to Jeb.
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.

Reply With Quote
  #5  
Old February 18th, 2003, 04:14 AM
sample:b sample:b is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Perf, Erf.
Posts: 5 sample:b User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old February 18th, 2003, 06:45 PM
kicken's Avatar
kicken kicken is offline
Wiser? Not exactly.
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2001
Location: Ft Myers, FL
Posts: 4,097 kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 2 Weeks 5 Days 22 h 48 m 4 sec
Reputation Power: 532
Send a message via ICQ to kicken Send a message via AIM to kicken Send a message via MSN to kicken
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

Reply With Quote
  #7  
Old February 18th, 2003, 08:08 PM
Jeb.'s Avatar
Jeb. Jeb. is offline
Gogo Google.
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Adelaide, Australia
Posts: 226 Jeb. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to Jeb.
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Configuring a Linux box to accept SSH


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway