Hello
After many problems, I decided to use the Runtime class for writing a command
(scp) through the console, problem is, that it returns an error:
ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory
Permission denied, please try again.
( because it tries to get the password and I don't get the chance to give it, I think.)
this is the code sample:
the error jumps already in the first runtime.exec.
Is there a way to write the command line+the password in one command line ??
and if not, how do I fix this code???
Thank you, I've been fighting this for to long, please help.
[ March 15, 2005: Message edited by: Dave Jones ]
After many problems, I decided to use the Runtime class for writing a command
(scp) through the console, problem is, that it returns an error:
ssh_askpass: exec(/usr/lib/misc/ssh-askpass): No such file or directory
Permission denied, please try again.
( because it tries to get the password and I don't get the chance to give it, I think.)
this is the code sample:
the error jumps already in the first runtime.exec.
Is there a way to write the command line+the password in one command line ??
and if not, how do I fix this code???
Thank you, I've been fighting this for to long, please help.
[ March 15, 2005: Message edited by: Dave Jones ]