New answers tagged key-authentication
I had the same issue on RedHat; checked logs and found that home directory had incorrect user rights. sshd: Authentication refused: bad ownership or modes for directory /home/user Fixing home dir rights solved this.
I think I fixed the issue. I disabled the firewall and the anti-virus on my computer and attempted to connect after a day (since apparently the system blocks my ip after a few failed attempts to connect). It worked this time and I got a message saying that I was connecting for the first time and it has acquired a public key which it saved.
The --components flag is only helpful to have finer control on which components will be started (or not). When you use it you are telling the keyring daemon to specifically use only those components and no others. There's an example in the online manual for the Gnome Keyring: If you're starting gnome-keyring manually or from a script you can use the ...
Host * IdentityFile ~/.ssh/my_key_rsa.pub You've specified the wrong key file here. You need to specify the private key file, not the public key file. The private key file is the one without the .pub extension: Host * IdentityFile ~/.ssh/my_key_rsa
Top 50 recent answers are included