WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Winsock
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

SSH and WinBatch


Question:

I need to convert one of my apps to use SSH for logging into a server and pulling information, which I used to use via the Winsock extender.

Does anyone here have any recomendations on what has worked well with Winbatch?

Answer:

There's no native support for that sort of encryption built into WinBatch because the government export control people and lawyers seem to get involved when you do implement that sort of encryption directly in your deliverable binaries.

The work around?

One of the possibilities is something that's free called PuTTY... it's a terminal emulator that happens to include a very nice SSH port forwarding feature. All you do is set up a local TCP port on your system to be forwarded to a remote SSH-enabled TCP port. Then, when you make a connection to the local port via TCP using the Winsock extender, PuTTY forwards the data stream via SSH to the remote system. It works very well and is frequently used in this manner to punch holes thru a firewall for things like remote desktop access, etc....

Checkout:

SecureCrt http://www.vandyke.com/products/securecrt/features.html

It seems to allow multiple scripting languages to control SecureCRT including VBScript and WinBatch.


Article ID:   W16896
File Created: 2017:07:28:12:58:54
Last Updated: 2013:10:18:09:10:35