Permission denied

From: Pierre Ochsenbein <pierreochsenbein(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Permission denied
Date: 2018-10-31 09:03:53
Message-ID: CABG8FoPb6ArjfwwEdVvkKpYx3GxoQ0d3dLi4TjDPFvjxaTsABg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear all,

how to fix this error about ssh permission?
I have build new ssh-key on the standby server but it doesn't work...

primary server :
....
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic
debug1: Offering ECDSA public key: /var/lib/pgsql/.ssh/id_ecdsa
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic
debug1: Trying private key: /var/lib/pgsql/.ssh/id_ed25519
debug3: *no such identity: /var/lib/pgsql/.ssh/id_ed25519: No such file or
directory*
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
-bash-4.2$

standby server :
*Permission denied (publickey,gssapi-keyex,gssapi-with-mic)*.^M
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]
2018-10-31 04:58:59.005 EDT [9938] FATAL: archive command failed with exit
code 255
2018-10-31 04:58:59.005 EDT [9938] DETAIL: The failed archive command was:
rsync -a pg_wal/000000010000000000000001 postgres(at)10(dot)0(dot)2(dot)159:
/home/postgresql_wal/000000010000000000000001
2018-10-31 04:58:59.007 EDT [15184] LOG: archiver process (PID 9938)
exited with exit code 1

Cheers

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Fabio Pardi 2018-10-31 09:13:46 Re: Permission denied
Previous Message Laurenz Albe 2018-10-31 06:47:07 Re: Poverty Partitioning, include indexes