Hi All,

 

I'm looking to write a java utility that will execute a "ssh -t -t user@host
mysqldump -uuser -ppw db table" the other command after the ssh will return
the result to standard output.

 

The ssh command results in a prompt for a Password, i would try to avoid
shared keys in my implementation, how can i setup apache common exec to
execute the above command and automatically input the password when
prompted?

 

Regards,

Brendan

 

 

 

Reply via email to