I am currenty SCping using the command line, where i am asked for the password in order to run the command.
Now I wish to run the SCP command from within a php script. I'd rather enter the password each time in a form rather than store it within the script itself.
How can I handle the password request? i.e., pass the password to the remote system when it asks for it.
thanks abhishek
____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/
hi,
you can do ssh key exchange between the hosts, for a particular user login. beware it will never ask for password, when you do ssh to that box, or create a shell to exit if done ssh
regards -sanjeev
On 30/07/07, Abhishek Daga abhishekdaga@yahoo.com wrote:
I am currenty SCping using the command line, where i am asked for the password in order to run the command.
Now I wish to run the SCP command from within a php script. I'd rather enter the password each time in a form rather than store it within the script itself.
How can I handle the password request? i.e., pass the password to the remote system when it asks for it.
thanks abhishek
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/
On 30/07/07, Abhishek Daga abhishekdaga@yahoo.com wrote:
I am currenty SCping using the command line, where i am asked for
the
password in order to run the command.
Now I wish to run the SCP command from within a php script. I'd rather enter the password each time in a form rather than store
it
within the script itself.
How can I handle the password request? i.e., pass the password to
the
remote system when it asks for it.
thanks abhishek
--- "सà¤à¤à¥à¤µ (Sanjeev Tripurari)" sanjeevtripurari@gmail.com wrote:
hi,
you can do ssh key exchange between the hosts, for a particular user login. beware it will never ask for password, when you do ssh to that box, or create a shell to exit if done ssh
regards -sanjeev
Hi, That is not an option. It would have to supply the password each time.
____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC