#3806 Can not ssh to my userspace on fedorapeople / http only gives 404 after using rsync
Closed: Fixed None Opened 10 years ago by besser82.

= bug description =

I can't ssh to my userspace on fedorapeople. http://besser82.fedorapeople.org returns a 404

This happend immediatly after invoking:
rsync -avzH --links --delete-after ${my_local_dir} besser82@fedorapeople.org:~

${my_local_dir} mirrors everything on besser82@fedorapeople.org:~

I tried to reset my pubkey on https://admin.fedoraproject.org/accounts/ several times, but it didn't work.

= bug analysis =

ssh besser82@fedorapeople.org
Permission denied (publickey).

ssh -l besser82 besser82.fedorapeople.org
Permission denied (publickey).

ssh -l besser82 fedorapeople.org
Permission denied (publickey).

= fix recommendation =

Please restore the things which gone wrong.
For ssh I want to use the pubkey from my account details.

I hope you cant help me.

Best Regards and thanks a lot in advance,
Björn Esser


Hello,

The problem for the 404 is that your public_html is in /home/fedora/besser82/besser82/public_html.
Notice that your username appears twice in this path.

About logging in: it might take up to an hour for the host to synchronize your public key from FAS.
But since you might have tried logging in multiple times with the incorrect key, you could be added to denyhosts.
Could you give us the IP address from where you are connecting?

Hello,

thanks for your quick reply.

After updating my pubkey I waited serveral hours to have changes applied, but nothing happened. I'm connecting from

IPv4: 77.22.52.58,
IPv6: 2001:4dd0:fb93:0:8a53:2eff:fe94:f002

Tried again with IPv4 only and a new IP (77.20.95.228) (IPv6 is static) and it still fails:

ssh -l besser82 fedorapeople.org
Warning: Permanently added the RSA host key for IP address '152.19.134.191' to the list of known hosts.
Permission denied (publickey).

Added a completely new generated rsa-key and now ssh fails with this error:

ssh besser82@fedorapeople.org
ssh_exchange_identification: Connection closed by remote host

Does this mean my IP got blacklisted and ssh will be working as expected again?

Renewed my IPv4 (IPv6 still deactivated) to 77.21.42.216 and now again:

ssh besser82@fedorapeople.org
Permission denied (publickey).

Please try again now.

Your IP was in denyhosts from trying too many times.

Your inital rsync wiped out your ~/.ssh/authorized_keys I suspect, so your key wasn't valid for a while there and you made enough attempts to be added to denyhosts.

keeps the same again:

ssh besser82@fedorapeople.org
Permission denied (publickey).

Ah. It was permissions on your homedir.

try now?

Now it's all fine again! Thanks a lot to you all helping solving my problem!

Login to comment on this ticket.

Metadata