Link to home
Start Free TrialLog in
Avatar of Harley12
Harley12

asked on

Interacting with a Telnet Session

I am writing a Windows application that requires work to be done on a Unix box.  Is there a way to open a telnet session and interact with that session or is there any other way that I could execute commmands on a UNIX box from a Windows box? Samba is installed on the UNIX machines so copying files is not an issue, just executing commands. Just looking for ideas here.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of FlamingSword
FlamingSword

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of UncleJimbo
UncleJimbo

You can technically just use telnet to execute commands, although this could be cumbersome, depending on the telnet daemon on the remote server, you could find you get strange formatting characters in anything returned (if you want get the output of your commands), and also telnet escape command sequences (the telnet RFC's give details).

An easier way is to use rsh, remote shell, if you have access.  It pretty much does the same as you are looking for.  "rsh" is a standard command on most linux/unix boxes, and windows XP, not sure if its available on other windows versions though.

Good luck
Harley12:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Avatar of Harley12

ASKER

Thanks for advice.  I have decided to edit files as FlamingSword suggest.