how to use telnet | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    

UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

how to use telnet

UNIX for Dummies Questions & Answers

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 07-09-2001
odeon odeon is offline
Registered User
Join Date: Jul 2001
Last Activity: 11 July 2001, 9:12 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question how to use telnet

Hi EveryOne!
Can anybody give me please an idea where I can get informtion on what do I need to know to use telnet, helpfull links books.
I am new to telnet and unix. Thanks you for you time answering
Sponsored Links
Old 07-09-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Join Date: Sep 2000
Last Activity: 3 March 2015, 2:50 PM EST
Location: Asia pacific region
Posts: 13,086
Thanks: 594
Thanked 954 Times in 431 Posts
There is not a whole lot to learn to use telnet. If you have a UNIX system at hand, just type "man telnet" and you will have plenty of details. Basically, telnet is a remote (interactive) access client-server application protocol that allows you to interact with a remote host/server. The man page will give details.
Sponsored Links
Old 07-10-2001
loitschix loitschix is offline
Registered User
Join Date: Jul 2001
Last Activity: 24 July 2001, 1:36 AM EDT
Location: Frankfurt/Germany
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts


it`s no problem to use telnet. syntax:

telnet <name-of-machine-to-connect>

there are a few additional options:

-l <user> connects to the machine with a special username
-n <file> makes a file that traces your telnetsession

all other options like -c -d -8 -e -E -L -n i normaly don`t use, but you can read at the man-page section ("man telnet").


you wanna connect to host "hugoland" as user "hugo", but you are user "root" on your machine. type:

telnet -l hugo hugoland

there is another interresting thing to know: normaly telnet connects automatic to port 23. this is defautl-tcp/ip standard. but when you wanna connect to another port (like 2031) type

telnet -l hugo hugoland 2031

this is the "client side" of telnet. now some words about the "server side".

if you wanna have a machine (server) to allow someone connect to your server per tlent, you have to run a telnet-daemon. this examples are from sun solaris 8, but normaly it`s nearly the same on hp-ux and aix.

the telnet server is controled by the "master-process" of all net-services "inetd". in the /etc/inetd.conf there are entrys for all services the "inetd" habe to serv/control. when you wanna enable/disable the telnet-service (from serverside!) comment/uncomment the line in the /etc/inetd.conf and restart the "inetd" (kill -1 <proc-id od inetd>)

on secury systems root is denied to login per telnet or ftp. this is defined in the /etc/default/login (on sun solaris) and/or in the /etc/ftpusers.

o.k., hope this helps,
cheers, alex...
Old 07-10-2001
dimanise dimanise is offline
Registered User
Join Date: Jul 2001
Last Activity: 14 August 2002, 12:43 PM EDT
Location: Tor, Can
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I don't even think you need to know anything about telnet. Whenever i use it, i just type "help" without " of course and the entire possible list comes out, that's usually what i need.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Automatically login in the telnet from present telnet Prateek UNIX for Dummies Questions & Answers 2 07-05-2011 11:31 AM
How to come out from telnet ram1729 Shell Programming and Scripting 5 06-24-2009 09:01 PM
telnet and cut melanie_pfefer AIX 1 03-27-2009 12:33 PM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 01:35 AM
telnet eykyn17 AIX 3 02-16-2006 01:17 PM

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