problem:run ssh via a cgi script on apache
From: mbasil (mbasil@it.teithe.gr)
Date: 02/03/03
- Next message: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Previous message: Bill Unruh: "Re: logging every sshd messages in a dedicated log-file"
- Next in thread: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Reply: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: mbasil@it.teithe.gr (mbasil) Date: 2 Feb 2003 17:11:37 -0800
I have a script written in expect from which i spawn ssh and after
execute some commands.When i execute the script in command line,it
runs succesfully and outputs the rights results.The problem is that i
want to run this script via apache server as cgi.I tried that but i
got this error message in my browser:
Could not create directory '/var/www/.ssh'. The authenticity of host
'localhost (127.0.0.1)' can't be established. RSA key fingerprint is
07:6d:85:a6:2b:8b:1f:3c:fd:f6:d4:a1:29:83:2d:94. Are you sure you want
to continue connecting (yes/no)? Yes Failed to add the host to the
list of known hosts (/var/www/.ssh/known_hosts). mbasil@localhost's
password: Permission denied, please try again. mbasil@localhost's
password: (yes/no)? Yes Failed to add the host to the list of known
hosts (/var/www/.ssh/known_hosts). mbasil@localhost's password:
I have read ssh man pages but it didn't help me to find a solution.I
think that the problem is that the server runs-spawns the cgi script
under the default user apache.What i must do?
Thanx for any help.
- Next message: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Previous message: Bill Unruh: "Re: logging every sshd messages in a dedicated log-file"
- Next in thread: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Reply: Richard E. Silverman: "Re: problem:run ssh via a cgi script on apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|