LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-28-2013, 01:55 AM   #1
mailatkishor
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Question how to configure telnet in linux??


Please help me to configure the telnet in linux OS... as I am new to this OS.
waiting for your quick reply
Have a nice day
 
Old 03-28-2013, 02:34 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,600

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
do you really NEED "telnet" ?

" ssh " is what is normally used in the twenty first century ( with exceptions )

by default on most distros telnet, if even installed, is disabled by default.

can you also include what your operating system is ?
we need to know that to help.
 
1 members found this post helpful.
Old 03-28-2013, 03:57 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,000

Rep: Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355
Some examples here. http://www.cyberciti.biz/faq/how-do-...reebsd-system/

Usually you would want to test telnet locally or use behind a good firewall or a non-internet computer. As JohnVV suggested, ssh is the more secure way.

There are also examples of telnet in a vpn tunnel if you need it.
 
2 members found this post helpful.
Old 03-29-2013, 06:06 AM   #4
mailatkishor
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your reply...
My Linux OS is Redhat 5.... I want to use telnet to login to this computer and change some configuration.
as this computer is placed in server room and I want change configuration from my desk. at my desk i have windows7 OS but want to telnet Linux redhat5 OS...
what is ssh???? i dont have any idea about that....
please help me

Quote:
Originally Posted by John VV View Post
do you really NEED "telnet" ?

" ssh " is what is normally used in the twenty first century ( with exceptions )

by default on most distros telnet, if even installed, is disabled by default.

can you also include what your operating system is ?
we need to know that to help.

Last edited by mailatkishor; 03-29-2013 at 06:12 AM.
 
Old 03-29-2013, 06:14 AM   #5
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,457

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
first you need to download/use putty to connect to the server (you do not need to install, just download and run). Next, in putty you will enter the name of that host (or ip) and select protocol. We suggest ssh, but you can also select telnet.
 
2 members found this post helpful.
Old 03-29-2013, 06:31 AM   #6
mailatkishor
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you pan64..But first I need to install/configure telnet in LINUX redhat 5 OS....please help me to configure the telnet in this OS.after that i can access it..

Quote:
Originally Posted by pan64 View Post
first you need to download/use putty to connect to the server (you do not need to install, just download and run). Next, in putty you will enter the name of that host (or ip) and select protocol. We suggest ssh, but you can also select telnet.
 
Old 03-29-2013, 06:36 AM   #7
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,457

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
http://www.unix.com/red-hat/105878-t...pdate-3-a.html
http://www.developertutorials.com/tu...t-060308-1016/

hope these links help

Last edited by pan64; 03-29-2013 at 06:38 AM.
 
Old 03-29-2013, 09:10 AM   #8
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,126

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Quote:
Originally Posted by mailatkishor View Post
Thanks for your reply...
My Linux OS is Redhat 5.... I want to use telnet to login to this computer and change some configuration.
as this computer is placed in server room and I want change configuration from my desk. at my desk i have windows7 OS but want to telnet Linux redhat5 OS...
what is ssh???? i dont have any idea about that....
please help me
You were told what SSH is, in the previous replies, and Google has lots of good explanations too.

SSH is a SECURE method of remote access...you can use it as you use Telnet, but it's secure, and also provides file transfer capabilities. Again TELNET SHOULD NOT BE USED AT ALL, unless there is a very, VERY good reason to. SSH is already installed on your server...start it with "/etc/init.d/sshd start", and it should fire up. Then, from your putty client, connect using SSH to port 22. Done, and your server won't be insecure.
 
Old 03-30-2013, 02:38 AM   #9
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,457

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
Quote:
Originally Posted by TB0ne View Post
TELNET SHOULD NOT BE USED AT ALL, unless there is a very, VERY good reason to
You are right, telnet should be avoided. But telnet is quite good for practicing (how to set up a simple service), so why not? Later on he will definitely not use it any more....
 
Old 03-30-2013, 02:57 AM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Window 7 and later don't include a telnet client. You'd need to install putty anyway to use it, so ssh would be an obvious choice anyway.

For telnet, you need to install the server and configure the telnetd to start.
Make sure you use xinetd to restrict where connections can come from and bind the interface. Firewall rules will be needed to isolate telnet traffic. This would include the server and the routers. Look at access.conf to control logins.

Again however, you have no valid reason to use telnet instead of ssh. Please use ssh instead.

Last edited by jschiwal; 03-30-2013 at 03:07 AM.
 
1 members found this post helpful.
Old 04-18-2013, 07:29 AM   #11
mailatkishor
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks every one helping me..Now the issue has been resolved.
 
Old 04-18-2013, 03:35 PM   #12
jefro
Guru
 
Registered: Mar 2008
Posts: 11,000

Rep: Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355Reputation: 1355
Thanks for the update.
 
  


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
telnet slowness - linux telnet vs windows telnet vahab Linux - Networking 4 01-23-2013 02:25 PM
how we can configure telnet server in linux sandeeprhce5 Linux - Server 1 01-08-2009 10:35 PM
configure telnet in linux 7.2 in virtual pc prabuboyz Linux - Networking 1 03-01-2007 01:29 AM
How to configure TELNET in RH 7.3? linuxharsha Linux - Networking 6 02-14-2004 04:02 AM
How do I configure Telnet to...... JoeInTenn Linux - Software 3 08-29-2003 11:57 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
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