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


.



Relevant Pages

  • Re: public private key, 3DES
    ... When you want to generate a persistent symmetric key, ... normally derive it from a passphrase and initialization vector. ... key and encrypts passphrase, IV, etc using Y's public key. ... The private key is not to be distributed or saved, ...
    (microsoft.public.dotnet.security)
  • Re: sftp non interactive session
    ... You want to use scp to copy the files, not sftp. ... Here's an example of me copying the file 'ww' from host 'sparrow' to ... public key from host 'sparrow' to the file ... If a passphrase was entered when entering using ssh-keygen, ...
    (comp.unix.solaris)
  • Re: Suggestions For The Passing of Passphrases
    ... > passphrase of 20+ randomly generated characters. ... The conventional solution uses public key encryption. ... newspaper, in a telephone conversation between A & B, etc.). ... Only B can decrypt the message (using the private key) - it ...
    (sci.crypt)
  • Re: Symmetric encryption: why not use private keys?
    ... > for traditional symmetric encryption. ... > that you have to be very careful to choose a passphrase with enough ... This would mean rock-solid encryption as ... secret key ring used for public key crypto. ...
    (sci.crypt)
  • Re: failed password for "root" in logs
    ... create private/public key pair for your client and remote ... Remember public key goes to server and private key stays with ... Enter passphrase: ... Your public key has been saved in /home/dialin/.ssh/id_rsa.pub. ...
    (comp.os.linux.networking)