ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabSSH for PuTTY connection

Hello,

 I want to use LabSSH library (from Labvolution), but got error. (See attached). Can someone help me?  I also tried with System Execution, got no output. Thank you in advance.

0 Kudos
Message 1 of 6
(1,624 Views)

There is no image attached.

If you are using LabVIEW 2021 or later, SSH is natively supported. LabVIEW Tools for SSH and SFTP

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 6
(1,620 Views)

Don't know why my image file wasn't attached. I put it again.

I did try with LabSSH library and plink on System Execute.  I am using LabVIEW 2023 Q3.

0 Kudos
Message 3 of 6
(1,571 Views)

I do not have much experience with labSSH.

Since you use LabVIEW 2023 Q3, why don't you try the built-in API? It is under Data Communications >> Protocols >> SSH palette.

ZYOng_0-1698259538870.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 4 of 6
(1,559 Views)

This might be a good suggestion. I am trying to use the "execution" function.  Do you know how do I set the "additional Options?

I use "Blank" for options and assign the user@host and command as below. I didn't get error, but the command "exit" doesn't function when I have the jumpbox open. Is my user@host wrong? Appreciate your help.

yuntan_0-1698261556745.png

 

0 Kudos
Message 5 of 6
(1,548 Views)

I am not familiar with the jumpbox but it is giving me the same behavior.

ZYOng_0-1698265216595.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 6 of 6
(1,536 Views)