LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2003, 10:42 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
How do i setup telnet on a slackware box


I was given a old as dirt celeron 333 pc. I loaded 128 of ram in it and a 8gb hd and loaded slackware 8.0 on it. I was wondering because i am at work and i cant really test this theory of mine but, if i wanted to telnet into the box all i have to do is have it up and running with a ip address and then open up a dos promt on my xp machine and do this
c:\> Telnet 192.168.2.45

then type in the username and password. Or do i have to set up the box to use telnet?
 
Old 06-30-2003, 10:45 PM   #2
Zarnce
LQ Newbie
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: Slack since 94
Posts: 12

Rep: Reputation: 0
That should be all you have to do. Are you unable to connect?
 
Old 06-30-2003, 11:00 PM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
i just tired it i askes me to log in i use root as the user name and my password for root and it wont let me in. whys that?
 
Old 06-30-2003, 11:12 PM   #4
Zarnce
LQ Newbie
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: Slack since 94
Posts: 12

Rep: Reputation: 0
The default for I believe unix (atleast slack) you can not telnet in as root. You can telnet in as a normal user than su to root. You have to change a config file in /etc to beable to telnet as root
 
Old 06-30-2003, 11:21 PM   #5
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Your right i got in with a new user i created thanks now i can do linux stuff on the fly without logging out on my main box
edit----
do you guys know if there is a way to get x windows system to work on telnet as well

Last edited by digital bots; 06-30-2003 at 11:24 PM.
 
Old 06-30-2003, 11:24 PM   #6
Zarnce
LQ Newbie
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: Slack since 94
Posts: 12

Rep: Reputation: 0
If you are telneting in from a windows box you should check out putty. Its a free telnet/ssh client that is alot better than using the windows telnet program

Zarnce
 
Old 07-01-2003, 07:42 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
And you really should dump telnet and switch to ssh anyway. Telnet is horribly unsecure.
 
Old 07-01-2003, 09:50 AM   #8
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
What you should do is use ssh - it should automatically be configured, and the same applies to loggin in as root. ssh is much more secure than telnet. Then, if you want an x windows system, then tunnel X over ssh. You must first have an X server running on your work computer.
If you don't want to tunnel applications over ssh, then try vnc. That you can view in a web browser, or even tunnel it over ssh to make it more secure. Check out realvnc for more details
hth,
andy
 
Old 02-24-2004, 10:46 PM   #9
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Rep: Reputation: 30

Yeah this post provided me with some good info.
but i have a few questions in regards to telnet.
I have finally configured the slackware box at home for telnet.
I have one issue.
what address should I be using to telnet from a remote location with.
i set up port forwarding.
I can telnet from my internal lan ip, but if i try my wan ip address it goes to the modem.
i have a wan ip, wan gateway, dns#1, dns#2, and a lan ip.
is there a particular address i should be using?

Last edited by xviddivxoggmp3; 02-24-2004 at 11:48 PM.
 
Old 02-25-2004, 07:10 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you are trying to access from outside your LAN, you need to point to your WAN ip address. That's the only one the outside world could find. You are right that it gets you to your modem, so you have to have that computer set up to forward telnet traffic to your slackware box.


And just to be a broken record, telnet is horribly insecure. If you are accessing from a remote location, use ssh instead.
 
Old 02-25-2004, 08:21 AM   #11
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
To move files around from a Windows PC try WinSCP, now version 3.55
 
Old 02-25-2004, 04:52 PM   #12
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Rep: Reputation: 30
I already set up port forwarding.
Is there something else I need?
Can I telnet through dhcp?
 
Old 02-25-2004, 09:01 PM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Can I telnet through dhcp?
As long as you have your IP addresses straight, dhcp shouldn't cause a problem. However, if you have set up port forwarding and the IP address of the telnet server doesn't match the target of the port forwarding, you will definitely have a problem. So basically, you need to check on the following:

You have the right WAN IP address
Your modem is forwarding port 23 to the correct LAN IP address
Your telnet server is actually up and running

If you are having trouble, please post details about what you are doing and what you are seeing.
 
Old 02-26-2004, 01:49 PM   #14
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
As posted above: please use ssh instead of telnet

telnet=bad (clear text passwords--many exploits)
shh=ok (a few exploits but has great encryption)

 
Old 02-27-2004, 02:22 AM   #15
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I can confirm that Both putty and winscp work with my slack "current" box without any setup. Block port 22 at the firewall, you are asking to be sniffed if you use telnet.
 
  


Reply



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
Inetrnet connection sharing between a Slackware box and windows box planetsheinker Slackware 10 09-23-2006 11:53 PM
Can't telnet into RH 8 box Eric3 Linux - Networking 15 11-03-2005 02:51 PM
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 12:40 PM
Can't Telnet into My Box cheshire Linux - Networking 7 03-20-2001 04:39 PM
telnet into a linux box todd499 Linux - Networking 13 11-24-2000 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:09 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
Open Source Consulting | Domain Registration