Linked Questions
30 questions linked to/from Why am I still getting a password prompt with ssh with public key authentication?
0
votes
2
answers
3k
views
SSH Key not working [duplicate]
I created an SSH key on my laptop using ssh-keygen and then put it on some production servers so that I don' have to type my password every time.
On some servers it is working well, but on some it's ...
0
votes
2
answers
968
views
public key authentification doesn't pass, why?
I'm trying to connect to Server with ssh and id_rsa key. That key is only key in authorized_keys (just added with ssh-copy-id)
When i do connect, server ask doesnt end with keys but always ask for ...
17
votes
1
answer
16k
views
Authentication refused: bad ownership or modes for directory /root
I'm trying to SSH into my remote VPS with Debian onboard. Running sshd in debug mode, I found that:
Authentication refused: bad ownership or modes for directory /root
I tried setting permissions as ...
6
votes
1
answer
11k
views
SSH publickey works for root but not user [duplicate]
Possible Duplicate:
Why am I still getting a password prompt with ssh with public key authentication?
I'm setting up a remote server. The sshd is configured to use publickey only. There are two ...
3
votes
1
answer
502
views
ssh-copy-id successful but still getting password prompt
I have to connect to my work pc, and I'm working with this config,
Host work
User name
HostName 192.168.31.***
ProxyCommand ssh.exe p***@middle_host nc %h %p
Here, middle_host is ...
3
votes
1
answer
3k
views
Setup SSH public key for login without password [duplicate]
Today I have setup 3 servers (4 including the server sending the SSH commands) with a public SSH key so I can automate some scripts
It works on the 2 first systems but not on the third.. SSH still ...
2
votes
1
answer
767
views
chmod doesn't help for "Authentication refused: bad ownership or modes"
Foreword: I believe I did my homework. I tried checking the ownership/modes of the relevant files, but I'm still getting the error.
I'm trying to start an SFTP server on GNU/Linux. I made a new user ...
2
votes
1
answer
1k
views
ssh public key authentication fails [duplicate]
I copied my public ssh key to a remote server, but the authentication fails with the following ssh output:
ilya@workstation ~ % ssh -v ilya@remoteserver
OpenSSH_6.6.1, OpenSSL 1.0.1k-fips 8 Jan 2015
...
2
votes
1
answer
6k
views
Logging in through ssh tunnel with rsa key still giving password prompt
I have two laptops (Host A and Host C) with dynamic IP addresses and one desktop (Host B), all of which are running (Ubuntu) Linux. Right now I have things set up so I can access Host A from Host C as ...
1
vote
1
answer
1k
views
Unable to ssh with private key
I'm trying to connect to remote ssh with private key.
But it always prompted to password.
The key file id_rsa (this is copy from the server ~//.ssh/id_rsa file):
-----BEGIN OPENSSH PRIVATE KEY-----
...
1
vote
1
answer
1k
views
Repeated prompts for SSH private key password in single session
I have a private SSH key on a shared development server, which is secured with a password.
Even after loading it into ssh-agent, I get re-prompted for the private key password
For some reason, even ...
1
vote
1
answer
888
views
Being Prompted for Password After Already Registered Public Key On server [closed]
NOTE: This is not a duplicate to the popular question.
Why am I still getting a password prompt with ssh with public key authentication?
I had an original post but I did not get much answers helping ...
0
votes
1
answer
125
views
Same pubkey allows access on one user, but not another [duplicate]
So I have a centos 7 server with 2 users.
User1 has the ~/.ssh/authorized_keys file with proper permissions and with externaluser's public key in it.
User2 has the ~/.ssh/authorized_keys file with ...
0
votes
1
answer
54
views
Shell script to ssh to machines. [duplicate]
Should be able to ssh from one VM to another or more other machines, but should not prompt for public key authentication.
How to cover the prompt in automation using a shell script.
2
votes
0
answers
796
views
Can't login via ssh using public key
I am trying to connect to my Ubuntu server using ssh and a public key. I have disabled the connection from remote using a password, so I can only login using a key.
There are two users on my server. ...