Telnet executed on a remote computer and result back.


Telnet executed on a remote computer and result back.

Author
Message
soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
Hi Yury,
We try to ask a Telnet command on a remote computer and have the result back.
Psexec is not compatible with Telnet and it seam's that your psexec like doesn't accept this command.
Tryed the NCAT command but doesnt work.
Do you have any workaround suggestion ?
Kind regards,
Pierre

Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)

Group: Administrators
Last Active: 3 days ago @ 6:45 PM
Posts: 1.9K, Visits: 3.5K
Hi Pierre, what would be a use case for such functionality? 

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Kindest Regards,
SmartCode Solutions Support
soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
Hello Yury,
In many case in our company, we must control some network access and communication to server issue on computers.
Due to protection rules the ping is not allowed on some networks. The solution for us to test if the configuration of the network is well done and a computer allowed to reach the network/server is using the Telnet.
When the computer is free, no problem for us to take the control remotely and do the Telnet in a CMD windows, but, in reality, the computers we are in charge are mainly in use and we can not take the control on it without a lot of difficulties. (EX :Someone to log off or accept the remote demand, in a lot of countries with not the same working hours ....even if we are in first line 24/24/7/7 ... we like to sleep sometimes and in some case the issue must be solved asap)
On some network, ping (Used with your Psexec like) can work and is enough to test the network issues, but for all the other computers and network the only way to check is using Telnet.
Kind regards,
Pierre







soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
Just one more information Yury, the result we want to know is only if the Telnet is responding or not ... no need to use all other Telnet functionality.
Best regards.
Pierre

Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)

Group: Administrators
Last Active: 3 days ago @ 6:45 PM
Posts: 1.9K, Visits: 3.5K
Let me run some tests, may be what you are looking for can be done using the current functionality. Do these remote computers have telnet server installed or you are telneting to some other service, like HTTP (80) or VNC?

Personally I left use telnet to 5900 to check if VNC server is alive Smile 

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Kindest Regards,
SmartCode Solutions Support
soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
As told, when we have remote access, we use the Telnet (IP PORT) in a command windows on the remote PC, so Telnet utility is activated on those computers to check if the line is correctly configured.
I have try many other way without result with S-code Psexec like ....
Hope you'll have an idea I hadn't thought about.Satisfied
BR.

Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)

Group: Administrators
Last Active: 3 days ago @ 6:45 PM
Posts: 1.9K, Visits: 3.5K
I've just tried and indeed it seem it is not possible to capture the out of a telnet command. 

How is your programming skills? Perhaps you could develop a very simple console application that establishes connection to a give address and port and outputs something to stdout? Smile 

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Kindest Regards,
SmartCode Solutions Support


Similar Topics


Reading This Topic