LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-28-2003, 11:09 PM   #1
mabarnes
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Telnet server for slackware


How do I setup a telnet server for Slackware 9.1. I have found information on how to setup one with Mandrake and Red Hat but the rpms it talks about Slackware does not have. I have looked all over the Slackware CD their web site and I could not find anything. Thanks for your help!
 
Old 11-29-2003, 12:29 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Just edit your /etc/inetd.conf file and uncomment the line for telnet.

As a side note, telnet is insecure, you should really think about using ssh instead.
 
Old 11-29-2003, 12:45 AM   #3
mabarnes
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
It works great now! One more thing, why can I not login as root?
 
Old 11-29-2003, 11:07 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Quote:
Originally posted by mabarnes
It works great now! One more thing, why can I not login as root?
For security. When using telnet your login (including password) is sent in plain text. For that reason it is more advisable to use ssh which entrypts all the data. Is there a reason you can't use ssh?
 
Old 11-29-2003, 11:22 AM   #5
mabarnes
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I am justing play around with telnet on my local network. I have not looked into setting up ssh and I don't know what it really is yet, I know what telnet is.
 
Old 11-29-2003, 11:50 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
ssh is a Secure SHell. Think of it as telnet version 2 - everything telnet has with options for encryption and secure port forwarding.
 
Old 11-29-2003, 10:13 PM   #7
mabarnes
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
is there a post here that could tell me how to get started on setting it up?
 
Old 11-29-2003, 11:42 PM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
It's probably already running. Do ps -ef |grep sshd and see if there is a PID for it. Also check to see if there is an init script for it in /etc/rc.d/rc3.d/ (or whatever run level you're using).

To use ssh to a remote computer, you just do
ssh user@host

So for example, if your username is "mabarnes" and the host is "foo" (on your local network) then you would do:
ssh mabarnes@foo

or if you only have the IP (maybe you don't have a host file configured) you could (assuming the IP of "foo" is 192.168.0.2) do:
ssh mabarnes@192.168.0.2

Also be sure to
man ssh
man sshd
man sshd_config

By the way, you shouldn't log in as root even with ssh. Setup sudo so you log in as a regular user, then you can execute specific commands as root by using sudo.
 
  


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
Enabling Telnet on Slackware initself Slackware 8 12-26-2004 03:19 PM
why does slackware install rcp, telnet...? rgiggs Slackware 3 08-29-2004 06:04 AM
How do i setup telnet on a slackware box digital bots Slackware 15 03-02-2004 02:32 PM
Slackware 9.1 and Telnet In Help! kleptos Slackware 4 12-15-2003 06:32 PM
How can I telnet into slackware from a win98 machine karlena Slackware 0 10-31-2003 03:45 PM


All times are GMT -5. The time now is 10:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration