using ssh within a shell process

We can use our script with telnet but it does not appear to work with ssh. When using ssh we do not see a password prompt from the read; however, we can ssh to the remote host from a terminal window.

Please advise.
put "/bin/bash" into vncset
open process vncset

write "ssh -l <user> <hostip>" & return to process vncset
wait 4
read from process vncset until end
put it


Sign In or Register to comment.