Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Sudo command usage in ssh

Hi i am working on a project to connect to a remote server via ssh and access the serial port of the remote server using minicom.

i have used libssh2 for making communication with remote server from my local machine. ls command is returning the list of files in the directory. but cd commands and sudo commands are not providing any response.

when i try to issue sudo ls or sudo minicom i am not able to get the response in my ssh channel window.

 

used the vi example from below link

https://github.com/fieldrndservices/libssh2-labview/blob/main/src/Examples/Single%20Command%20Execut...

 

0 Kudos
Message 1 of 1
(1,476 Views)