Re: where is the file?




"thecoolone" <jahan9@xxxxxxxxx> wrote in message
news:1165494694.782279.43240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Uli Wachowitz wrote:
On 2006-12-07, thecoolone <jahan9@xxxxxxxxx> wrote:
where can i just find the .ssh directory and id_dsa

Have you looked in your $HOME dir?

i did that. It sfays /var/www
and when i try to make a new public key it says:
"Generating public/private dsa key pair.
Enter file in which to save the key (/var/www/.//.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
open /var/www/.//.ssh/id_dsa failed: Permission denied.
Saving the key failed: /var/www/.//.ssh/id_dsa."

And when i try to remote login using the public key i get this message
and it then asks for the remote machine's password.
"Failed to add the host to the list of known hosts
(/var/www/.//.ssh/known_hosts)"


The error message is saying that the key was not created successfully -
which explains why you cannot find it. It looks like a permissions (or
missing directory) issue. What error do you get if you do:
touch /var/www/.//.ssh/id_dsa


.