P
Prasad Pednekar
Hi,
I was using the net/ssh library in my code ro ssh to a particular
machine.
But I found that the ssh library goes directly to the shell prompt and
executes the commands. net/ssh uses the ssh2 protocol internally, I also
tried using ssh1
but with no success.
Initially the prompt that appears should have been something like ">>>>"
but
in my case after running the script it goes directly to the shell prompt
"$" by-passing the cli prompt.
a. Why does this behaviour take place??
b. Is there a way to go to the initial cli prompt ??
-P
I was using the net/ssh library in my code ro ssh to a particular
machine.
But I found that the ssh library goes directly to the shell prompt and
executes the commands. net/ssh uses the ssh2 protocol internally, I also
tried using ssh1
but with no success.
Initially the prompt that appears should have been something like ">>>>"
but
in my case after running the script it goes directly to the shell prompt
"$" by-passing the cli prompt.
a. Why does this behaviour take place??
b. Is there a way to go to the initial cli prompt ??
-P