Linked Questions
31 questions linked to/from Why am I still getting a password prompt with ssh with public key authentication?
7
votes
5
answers
28k
views
ssh-copy-id succeeded, but still prompt password input
I have ssh-copy-id root@c199 succeeded before.
I can login by ssh root@c199 without password prompt
I want to auto login by another user ufo (remote machine has this user)
ssh-copy-id ufo@c199 ask ...
5
votes
3
answers
18k
views
Why can't I use public/private key authentication with ssh on Arch Linux?
I have the following setup on an Ubuntu machine:
~/dotfiles/authorized_keys2
~/.ssh/authorized_keys2 -> /home/wayne/dotfiles/authorized_keys2
I had the same setup on my Arch machine, but when I ...
8
votes
2
answers
19k
views
Passwordless ssh is not working in CentOS 7
I am trying passwordless SSH in CentOS7 installed in VMWare. I followed steps from this link, but facing issue while using ssh. Below is the log:
[root@osboxes ~]# ssh root@localhost
root@localhost's ...
5
votes
3
answers
20k
views
Still getting a password prompt with ssh with public key authentication?
I tried everything mentioned in this solution Why am I still getting a password prompt with ssh with public key authentication?, but still getting prompt for password.
My local log:
ssh -vvv ...
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
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
3
answers
2k
views
rsync to remote server without password [duplicate]
I seem to be having a little issue with connecting to a remote server, to rsync my backups
what i have done so far
run ssh-keygen
created public and private key
run ssh-copy-id -i my.key.pub ...
0
votes
2
answers
1k
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 ...
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-----
...
2
votes
2
answers
433
views
scripted ssh should not ask for a password if public key authentication fails
Here is my use case: I have a script that lists through hundreds of servers and tests whether or not they allow logins using public key authentication using a specific private key (in the ssh client's ...
1
vote
1
answer
911
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 ...
1
vote
2
answers
677
views
Cannot ssh without password [duplicate]
I have been trying to set up remote file copy without password between 2 Linux machines. I have appended my .ssh/id_rsa.pub from local to remote .ssh/authorized_keys. I have also set up correct file ...
2
votes
0
answers
913
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. ...
2
votes
1
answer
991
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 ...
3
votes
1
answer
611
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 ...