Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-29-2003, 10:18 AM   #1
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
Shell Access

Hi

I run a redhat 7.3 comp, and want to enable remote shell access

Would like to know if someone can give me a guide as to what i need to do,
I could manage setting it up by myself but want to make sure I do things right and securly so am asking for help : )

Thanks all,
James
Battery Powered is offline   Reply With Quote
Old 01-29-2003, 12:08 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
You could do it using SSH and even use a Windows client like putty to connect to it. I would tie the connection to an IP address for security reasons. The question is how would they connect to the computer over the Internet, via phone, etc?

SSH How-to
mairving is offline   Reply With Quote
Old 02-03-2003, 05:21 AM   #3
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
okay i have ssh installed, but when i try to run the demon
'sshd' from root i get this error:

Privlege seperation user sshd does not exist


Anyone got any ideas
Battery Powered is offline   Reply With Quote
Old 02-04-2003, 06:44 PM   #4
Member (7 bit)
 
Join Date: Oct 2002
Posts: 107
have you tried just typing in

ssh servername.whatever?
mindwave_21 is offline   Reply With Quote
Old 02-05-2003, 06:28 AM   #5
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
no im trying to actually be the shell server,

i want people to be able to connect to my server,
to have a shell account on my server
Battery Powered is offline   Reply With Quote
Old 02-05-2003, 06:38 AM   #6
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
http://www.citi.umich.edu/u/provos/ssh/privsep-faq.html
Statica is offline   Reply With Quote
Old 02-07-2003, 06:55 AM   #7
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
Hi

thanks that link was good and if i use ssh to connect to my computer it works a treat,

is there a way to offer a more flexible option,
where a user can use any telnet client to access the computer
Battery Powered is offline   Reply With Quote
Old 02-07-2003, 07:18 AM   #8
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Of course there is a way to use telnet, but you did want it done
Quote:
right and securely


To enable telnet on ur box:

edit /etc/inetd.conf

and unhash the line containing telnet as the service. it should look something like:
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

just remove the # before it.


check /etc/services
to see if you have the telnet service there
it should look something like
telnet 23/tcp

If it still doesnt work .. check to see if you have a file:
/etc/xinetd.d/telnet
edit it and change the line that reads disable=yes to disable=no




Having said that, its really a bad way of going about things; and I'd strongly suggest you look at SSH closer
Statica is offline   Reply With Quote
Old 02-09-2003, 04:28 PM   #9
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
I do need this really secure, so i guess i should steer clear of that then
Battery Powered is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:35 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2