チケット #29103

Run a Script through a Telnet Session

登録: 2012-07-24 21:23 最終更新: 2015-11-07 21:05

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

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

チケットの履歴 (13 件中 3 件表示)

2012-07-24 21:23 更新者: csup
  • 新しいチケット "Run a Script through a Telnet Session" が作成されました
2012-07-25 22:25 更新者: (del#1144)
  • チケットの種類機能リクエスト から サポートリクエスト に更新されました
コメント

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

2012-07-27 18:59 更新者: 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 更新者: (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 更新者: 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 更新者: (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 更新者: 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 更新者: (del#24082)
  • 担当者(未割り当て) から 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 更新者: csup
コメント
(このコメントは削除されました)
2012-08-30 20:47 更新者: 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 更新者: (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 更新者: 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 更新者: (del#24082)
  • 担当者yutakapon から (未割り当て) に更新されました

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする