任务单 #29103

Run a Script through a Telnet Session

开放日期: 2012-07-24 21:23 最后更新: 2015-11-07 21:05

报告人:
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Hi,

i would like to run a Teraterm Macro on a Remote Window Server connected by a Telnet Session.

I used the command ttmacro and the result was the freeze of the Telnet Client.

How can i run the script?

Thenks in advance,

Best Regards,

CSUP

任务单历史 (3/13 Histories)

2012-07-24 21:23 Updated by: csup
  • New Ticket "Run a Script through a Telnet Session" created
2012-07-25 22:25 Updated by: (del#1144)
  • 类型 Update from Feature Requests to Support Request
评论

Please read login.ttl. I guess it helps to learn how to control ttermpro.exe with ttpmacro.exe.

2012-07-27 18:59 Updated by: csup
评论

I try to explain our configuration:

C--(WAN)--S--(LAN)--T

I would like to run a ttmacro session on the Server S (Windows) to the Unix Machine T.

I use a telnet client to access to the Server S from a client C (Windows).

I think that the problem could be related the managment of the graphical interface.

I underline that i have a freeze of the telnet session (on the Client C) when i run the ttmacro command.

2012-08-01 20:15 Updated by: (del#24082)
评论

Hi csup,

I do not understand what you say. Is C Windows? Where do you execute the Tera Term on your server?

2012-08-27 21:33 Updated by: csup
评论

Reply To yutakapon

Hi csup, I do not understand what you say. Is C Windows? Where do you execute the Tera Term on your server?

Hi yutakapon,

I confirm you that the client C is a Windows machine.

The scripts files are installed on the S Machine (Windows), they access to the T machine (Unix) and i must run them from the C machine (Windows).

I can't access directly to T from C (they are in two different networks).

Thanks in advance,

Best Regards,

CSUP

2012-08-27 22:19 Updated by: (del#24082)
评论

Hi csup,

Would you please use the stone freeware on the S machine? If you use the S as intermidiate server, you will be able to the T machien via the S machine. The stone can be work well on the Microsoft Windows family.

cf. stone http://www.gcd.org/sengoku/stone/Welcome.en.html

2012-08-29 23:01 Updated by: csup
评论

Dear yutakapon,

i tried to use the software suggested by you in order to solve my problem.

unfortunatly, the routers between the client C and the server S are configurated in order to forward only telnet port (23).

So, i can't use this software as solution of my problem.

The perfect solution should be: 1) Perform a Telnet connection to Server S from client C 2) Run the ttmacro software on the server S

But, as described in my first post, the step 2 in not performable because the ttmacro doesn't work in this way.

In your opinion, is it possible to use/modify/find a workaround to use ttmacro during a telnet session??

Best Regards, CSUP

2012-08-30 00:06 Updated by: (del#24082)
  • 属主 Update from (无) to yutakapon
评论

Hi csup,

I think that your motivation will be archived by using the stone freeware. Please install the stone S(Windows) machine and execute below command line.

c:\>stone T:22 23 NOTE: T is T's ip address.

So, you can telnet from C to S by using port 23, and next the stone will redirect the port 23 packet to the T machine. As a result, you can connect to the T via S.

Thanks.

2012-08-30 20:46 Updated by: csup
评论
(This comment has been deleted)
2012-08-30 20:47 Updated by: csup
评论

Reply To yutakapon

Hi csup, I think that your motivation will be archived by using the stone freeware. Please install the stone S(Windows) machine and execute below command line. c:\>stone T:22 23 NOTE: T is T's ip address. So, you can telnet from C to S by using port 23, and next the stone will redirect the port 23 packet to the T machine. As a result, you can connect to the T via S. Thanks.

Hi yutakapon,

thank you very much for your support,

i tried run "stone" using this command on server S:

172.27.2.20:telnet 23 (NOTE: 172.27.2.20 is the ip address of T)

This command work only if the Telnet Server is not running on the server S, otherwise the port 23 is busy, then "stone" interrupts his execution returning an error.

I can't stop the Telnet Server on the S machine becouse is the only way that i have in order to control the server S.

Have you others idea about this problem?

Best Regards,

Thanks in advance,

CSUP

2012-08-30 23:39 Updated by: (del#24082)
评论

Hi csup,

Can you change the port number from 23 to any value?

For example: c:\>stone 172.27.2.20:telnet 5023

2012-08-31 17:49 Updated by: csup
评论

Hi yutakapon,

as i told you, i can't modify the configuration of the router between C and S, the current configuration foresees the "port forwarding" only for the port 23.

Have you other suggestions?

Thanks in advance, Best Regards,

CSUP

2015-11-07 21:05 Updated by: (del#24082)
  • 属主 Update from yutakapon to (无)

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名