SSH without password doesn't work with user postgres
Fresh3 days ago
Mar 15, 20266503 viewsConfidence Score0%
0%
Problem
I've tried manually adding the pub key to authorized_keys and authorized_keys2. I've also double checked the permissions on .ssh (700) and authorized_keys (644). I can login without password on the same machine using another user (server user). Here's the output from ssh -vvv: Edit: /var/log/secure…
Error Output
ssh postgres@java7 -vvv OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: SSH without password doesn't work with user postgres
Low Risk
I find the best thing to do in these circumstances is to run the SSH daemon in debug mode. If you have access as root on the machine you can run: and then you can use: and see what reason the server gives for rejecting the key.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix