LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
bfarnham

Request for ssh CVI library

Status: New

In previous applications, we would talk to our product using a telnet session.
CVI has libraries to do this, such as...

 

ConnectToTCPServer ((unsigned int *)&g_ShelfHandle[iSocketNumber], 23, sAddress, com_ClientTCPCB, NULL, 0);                                                                   

In one of our new products, it only supports "ssh" which is similar to telnet, but is a "secured shell" connection.
One option is to use putty:  http://digital.ni.com/public.nsf/allkb/C49602A79827DDBE86256CE9005757D5?OpenDocument

 

 

 

It is not the most straightforward way of doing things, but at the moment, it is what we have to deal with.

 
Since the ssh protocol is becoming the new standard in communications (used in all Linux machines, and windows), and most
of the new telnet programs (supporting ssh), I would like to request that a CVI library be created to support this protocol.

 

 

 

 

 

 

 

1 Comment
gdargaud
Active Participant

Use the tunnelling capabilities of ssh to access any port on target, as a local port.

For instance:

ssh -L 2323:localhost:23 user@remote

And then start your program to telnet to localhost on port 2323, it will instead talk to the remote on port 23.