|
-
Apr 28th, 2013, 09:15 AM
#1
Thread Starter
New Member
running plink with user input interaction from vb.net
Hi there,
I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input:
The .sh is prompting a few question and require user to input y/n to proceed.
I am trying plink.standardinput.writeline("y") but it looks like this input is not feed to the .sh script but rather to the plink session after the .sh script ended.
Any idea about this or is there any other way for this? Any help is m uch appreciated... I am stuckced. 
Thanks,
SY
-
May 13th, 2013, 12:22 AM
#2
Thread Starter
New Member
Re: running plink with user input interaction from vb.net
No one can help on this?
-
May 13th, 2013, 10:18 AM
#3
Re: running plink with user input interaction from vb.net
Very quick glance at the net suggests that there is no more than half a dozen people in the world using plink so you shouldn't be overly surprised if none of them visit this forum. What is there in this script that you can't do directly in VB anyway?
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 13th, 2013, 10:49 AM
#4
Re: running plink with user input interaction from vb.net
Is plink a media thing or a gene thing?
-
May 14th, 2013, 09:52 AM
#5
Thread Starter
New Member
Re: running plink with user input interaction from vb.net
Yeah... I realize that not much people using this. So, is there a way for vb.net to directly communicate with a linux system? I don't have a choice and picked plink or known as putty.
-
May 14th, 2013, 11:10 AM
#6
Re: running plink with user input interaction from vb.net
directly communicate with a linux system
Think that needs a bit more explanation.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 14th, 2013, 11:21 AM
#7
Re: running plink with user input interaction from vb.net
Are you telnetting using putty?
-
May 17th, 2013, 12:15 PM
#8
Thread Starter
New Member
Re: running plink with user input interaction from vb.net
I am actually sshing linux system - executing command from windows
-
May 21st, 2013, 10:42 AM
#9
New Member
Re: running plink with user input interaction from vb.net
 Originally Posted by dunfiddlin
Very quick glance at the net suggests that there is no more than half a dozen people in the world using plink so you shouldn't be overly surprised if none of them visit this forum. What is there in this script that you can't do directly in VB anyway?
Snark aside, if nobody's using plink, then what is the currently-accepted way to set up SSH sessions from within VB? If I'm completely wasting my time with plink - and that is certainly possible - I'd really like to know what else to try.
-
May 25th, 2013, 03:52 AM
#10
Thread Starter
New Member
Re: running plink with user input interaction from vb.net
Stumpy, there are other ways. plink is working to some extend. I wanted direst user input to respond to the .sh and it will not work.
If you are not doing this, I think it should works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|