Re: openssh only in one direction

From: Mike (
Date: 05/28/03

Date: Wed, 28 May 2003 19:20:14 +0800

Sounds like either
1. A permissions problem
2. The public key is not the one you think it is. I have made this
mistake before. Recheck that the key is correct


Friedhelm Neyer wrote:
> Hi folks
> the situation is as follows:
> 2 identical machines (IBM F50) both running AIX 4.3.3 ML11. I have
> installed the same openssh version on both machines as root, have on
> both machines in /.ssh-directory the recommended files. Then I put the
> public key of machine A into authorized_keys2 of machine B and vice
> versa. Now from machine B I can ssh to A with giving the passphrase.
> I start the ssh-agent on B and do a ssh-add /.ssh/id_dsa and the
> ssh-login runs now without any passphrase.
> But ... the other way from A to B isn't possible, the error message is
> like:
> Permission denied (publickey)
> Any hints to solve ?
> Thx in advance
> Friedhelm

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, ...
  • 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, ...
  • 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 ...
  • 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/ ...
  • 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. ...