Linked Questions

534 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 ...
Mr. Shickadance's user avatar
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 ...
Framester's user avatar
  • 1,633
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 ...
Rémi B.'s user avatar
  • 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, ...
Classified's user avatar
12 votes
1 answer
10k 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 ...
keddad's user avatar
  • 383
9 votes
7 answers
34k 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 ....
Rémi B.'s user avatar
  • 915
8 votes
5 answers
24k 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 ...
Mithril's user avatar
  • 505
8 votes
2 answers
18k 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 ...
Shitalb1's user avatar
  • 103
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 ...
goldilocks's user avatar
  • 85.8k
4 votes
3 answers
16k 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 ...
Wayne Werner's user avatar
  • 11.4k
4 votes
3 answers
19k 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 ...
Zeeshan's user avatar
  • 143
4 votes
2 answers
6k 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 ...
user58125's user avatar
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 ...
clarkk's user avatar
  • 1,697
3 votes
1 answer
382 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 ...
Eular's user avatar
  • 163
2 votes
2 answers
217 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 ...
Lester's user avatar
  • 123

15 30 50 per page