in reply to Re: Net::OpenSSH - connection from out a CGI script fails
in thread Net::OpenSSH - connection from out a CGI script fails

If the problem is the .ssh dir, would it be possible to create .ssh/known_hosts as a link to /dev/null? That would keep ssh happy writing to it (hopefully) and reading would always show an empty file

That opens the door for man-in-the-middle attacks!

  • Comment on Re^2: Net::OpenSSH - connection from out a CGI script fails

Replies are listed 'Best First'.
Re^3: Net::OpenSSH - connection from out a CGI script fails
by jethro (Monsignor) on Jan 20, 2012 at 12:20 UTC

    Sure, but it is not worse than the directory where there is no .ssh and no writing allowed at all (i.e. the situation as it seems to be now)

      I have similar problem but i can't find other way, i think that is better create a pair keys public between host for resolve the problem...