Linked Questions

29 votes
3 answers
53k views

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys [duplicate]

EDIT The issue as exposed here is solved (about files modes of the .ssh folder. But an other issue persists so I create a new question : > Unable to login with SSH-RSA key I can no longer ...
  • 915
34 votes
2 answers
100k views

Server does not accept public key for ssh login without password [duplicate]

Possible Duplicate: Why am I still getting a password prompt with ssh with public key authentication? I have ssh access to two sever. One old one and one new one. For the old one I use the ...
  • 1,613
6 votes
1 answer
10k 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 ...
  • 85.1k
4 votes
2 answers
5k views

ssh key doesn't work for one server but works for another [duplicate]

debug ssh works Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/vinatia/.ssh/id_rsa debug1: Server accepts key: pkalg ...
2 votes
5 answers
6k views

Why am I still getting a password prompt with ssh with key authentication? [duplicate]

I have two Oracle Linux 7.1 servers setup (devapp and subversion are the hostnames). What I want to do is ssh into subversion from devapp without having to enter a password. I followed this guide: ...
0 votes
2 answers
2k 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 ...
  • 4,068
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 ...
  • 1,699
0 votes
2 answers
573 views

My ssh key doesn't work, permissions look good [duplicate]

My permissions look like this: -rw-------. 1 smpadmin staff 400 May 21 2014 id_rsa.pub -rw-r--r--. 1 smpadmin staff 505 Dec 14 19:19 known_hosts drwxr-xr-x. 45 smpadmin staff 4096 Jan ...
  • 103
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 ...
  • 23
0 votes
1 answer
85 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 ...
  • 453
0 votes
1 answer
52 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.
  • 51
525 votes
13 answers
1.4m views

How to forward X over SSH to run graphics applications remotely?

I have a machine running Ubuntu which I SSH to from my Fedora 14 machine. I want to forward X from the Ubuntu machine back to Fedora so I can run graphical programs remotely. Both machines are on a ...
9 votes
7 answers
33k views

Unable to login with SSH-RSA key

This post is following this question : Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys . The issue as exposed there is solved (about files modes of the ....
  • 915
12 votes
4 answers
14k views

What can go wrong if we disable selinux [closed]

We inherited a bunch of used servers from another team. Some of them have SELinux enabled on it, some do not. Because of SELinux, we are having trouble setting up passwordless ssh, our webserver, ...
7 votes
5 answers
23k 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 ...
  • 475

15 30 50 per page