Host Key Verification failed - ssh via cgi

Donny Cornelius donny.cornelius at myrealbox.com
Fri Oct 18 19:38:46 EST 2002


hi, my scenario is this:

i have a cgi (on host1) that executes ssh (as userxyz) to a remote server (host2), executes a command to retrieve some data and outputs them to the local browser.

on host1:

#!/usr/bin/perl -w
...
$output = `/usr/local/bin/ssh -l userxyz -x host2 ls -l`
...

but i get "Host Key Verification failed" on my apache's error_log. i can do it on the command line, it only fails when i run it via the cgi.

has somebody had this problem before?
/don



More information about the openssh-unix-dev mailing list