Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TELNET

Status
Not open for further replies.

ElijahBaley

IS-IT--Management
May 4, 2001
1,598
GB

TELNET

I want to play with it but can not find any resources on the web as to how to use it?

Can I communicate with a SMTP server with it?, why don't the keys work in the app?, does anyone know of any good WEB tutorials about this stuff, I would appreciate any advice!

Thanks

Graham
"r tape loading error"
 
You can use telnet to connect to a number of different applications.

For example, to connect to an SMTP server, you would telnet to it on port 25, which is the port that SMTP work on! To connect to your ISP's SMTP server, you would enter:

telnet smtp.isp-mailserver.com 25

When you get connected you can see a list of available commands by typing "help".

eg.

[root@mandrake chris]# telnet relay.freeuk.com 25
Trying 212.126.144.54...
Connected to relay.freeuk.net (212.126.144.54).
Escape character is '^]'.
220 scrabble.freeuk.net ESMTP Exim 3.33 #1 Tue, 04 Dec 2001 10:35:49 +0000
help
214-Commands supported:
214- HELO EHLO MAIL RCPT DATA
214 NOOP QUIT RSET HELP
quit
221 scrabble.freeuk.net closing connection
Connection closed by foreign host.
[root@mandrake chris]#

You can also connect to a POP server on port 110.

root@mandrake chris]# telnet pop.freeuk.com 110
Trying 212.126.144.58...
Connected to pop.freeuk.net (212.126.144.58).
Escape character is '^]'.
+OK CPOP v2.6.7 Ready for Action
user my_user_name
+OK
pass my_password
+OK
list
+OK
.

In this example I connected directly to the POP3 server to check my e-mail.

In my job I use telnet to connect to routers to view and update configurations. I don't think that I could get by without it!

Do a search on the web for "telnet" and you should find loads of resources!

Good luck.

Chris. ********************************
Chris Andrew, CCNA
Technical Support Engineer
********************************
 
Thanks for your detailed responce Chris

One of the reasons I want to use this tool is to help me to get to grips with Internet technologies, I have been reading about SMTP,POP3 etc and relly want to get my hands dirty communicating with these servers.

My one concern is authorization, But I suppose that if I have a vilid account with my ISP then there is really no difference between a email client accessing the servers and myself telneting them.

One other point, it seems to me that you are using a command line in Linux, is there anything I should be aware of using a Windows application - Hyperterminal or Alphacom.

I appreciate your advice

Graham

"r tape loading error"
 
If you are using Windows, you have the default telnet application that comes with it! Just go to a DOS prompt and type telnet, and you should see a big white telnet box pop up! There are loads of free terminal programs available on the internet but the standard Windows verion is just as good, if not better! Having said that, when using Windows on my laptop (which I don't do much now these days!!) I use a program called SecureCRT, which is VERY good .. but expensive!! Go with the standard Windows telnet and you'll be fine!

One thing that you might have to do is go to Terminal > Preferences and then tick the Local Echo box to see what you are typing when logged in to a POP3 or SMTP server. You can enter commands without this option, it's just that you can't see what you are typing!

Regarding authorization, you are correct in that you entering your username and password is just the same as your e-mail client doing it! Eitherway it can be intercepted, but thats the risk you take.

Give it a go!

Chris.
********************************
Chris Andrew, CCNA
Technical Support Engineer
********************************
 
In Windows, go to MSDOS box and type telnet xxx.xxx.xxx.xxx The one thing you can't give for your heart's desire is your heart. - Lois McMaster Bujold
 

I am using Windows 2000 and can run telnet from the DOS prompt - I have not yet figured out how to turn the echo on, but I managed to succesfully send a email!

He He

Thanks

Graham
"r tape loading error"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top