Hi
Im writing a small utill for my self basicly to see if it can be done, but ive ran into a small problem, Im using Plink for a ssh connection whilst i can successfuly connect to the remote box with some thing like this:
VB Code:
Dim Location as String Dim commands as String Dim username as String Dim serverip as String Dim password as String username = txtUserName.Text serverip = txtServer.Text Location = "C:\plink" commands = " -ssh -pw " + password & username + "@" + serverip password = txtPassword.text Shell Location + commands
This connects and sends password with no problems how ever i choose to hide the command prompt as i dont know how to implement it into my app (yetand may not want to use the cli at all) now that the connection is working i would like away of reading whats comming from the remote host plus the ability to send data to the remote host too.
The problem is i cannot seem to find away of reading or sending data to and from the reomte server. I did think about using winsock.getdata and senddata but im not too sure if this would work and if it did how to get it to do that with the connection already working, could some one please help me to see a way of been able to read and send data Please.
Thanks for the time
Ixl2




and may not want to use the cli at all) now that the connection is working i would like away of reading whats comming from the remote host plus the ability to send data to the remote host too.
Reply With Quote