Telnet

B

Brian Cryer

I have a question regarding telnet. If someone can point me to a better
newsgroup then please do ... but I want to do this on a pc running XP Pro
(so there is a tenuous connection).

Every week or two I need to telnet to a device, issue a couple of commands
and then disconnect. Easy enough, but it would save me the task if I could
automate it. Does anyone know a way of automating a script to telnet? All I
need to do is telnet to a specific address, supply a username and password,
followed by a couple of one line commands and then break the connection.

I've been looking for a simple way to script this, but haven't yet come up
with anything. Short of writing my own mini-application to do it, does
anyone know of a way?

thanks in advance,

Brian.
 
A

Al Dykes

I have a question regarding telnet. If someone can point me to a better
newsgroup then please do ... but I want to do this on a pc running XP Pro
(so there is a tenuous connection).

Every week or two I need to telnet to a device, issue a couple of commands
and then disconnect. Easy enough, but it would save me the task if I could
automate it. Does anyone know a way of automating a script to telnet? All I
need to do is telnet to a specific address, supply a username and password,
followed by a couple of one line commands and then break the connection.

I've been looking for a simple way to script this, but haven't yet come up
with anything. Short of writing my own mini-application to do it, does
anyone know of a way?

thanks in advance,

Brian.


Kermit (http://www.columbia.edu/kermit/) is the classic scriptable
terminal emulator. Look on tucows of other shareware sites for others.
 
M

Malke

Isn't Putty the Windows version of ssh? Wouldn't it be better to use ssh
than telnet, which sends passwords in the clear?

Malke
 
B

Brian Cryer

Malke said:
Brian Cryer wrote:


Isn't Putty the Windows version of ssh? Wouldn't it be better to use ssh
than telnet, which sends passwords in the clear?

Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User

Good point. In general, yes, sending passwords in the clear isn't a good
idea. In our case I'm talking to a device on our local network and I'm not
worried about security. But it is a good point to consider if I were doing
it across the web.

regards,

Brian.

www.cryer.co.uk/brian
 
D

DevilsPGD

In message <[email protected]> "Brian Cryer"
Good point. In general, yes, sending passwords in the clear isn't a good
idea. In our case I'm talking to a device on our local network and I'm not
worried about security. But it is a good point to consider if I were doing
it across the web.

Since it isn't possible to telnet across the web, I wouldn't worry.

However, if you were telneting across the net, I'd worry more.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top