# Failed to install due to not found /root/authorized\_keys file

**URL:** <https://meta.discourse.org/t/failed-to-install-due-to-not-found-root-authorized-keys-file/38873>\
**Category:** Self-hosting\
**Created:** [Fevereiro 2, 2016, 4:24am UTC](https://meta.discourse.org/t/failed-to-install-due-to-not-found-root-authorized-keys-file/38873 "2016-02-02T04:24:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![javenfang](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@javenfang](https://meta.discourse.org/u/javenfang)\
**Post date:** [Fevereiro 2, 2016, 4:24am UTC](https://meta.discourse.org/t/failed-to-install-due-to-not-found-root-authorized-keys-file/38873/1 "2016-02-02T04:24:23Z")

</div>

I’ve tried many many times and different env, and try to search to resolve the problem. But I failed.

With installation from official doc, I always fail into the error reported:

```
I, [2016-02-02T03:25:19.047866 #38] INFO -- : > echo "Beginning of custom commands"
I, [2016-02-02T03:25:19.052456 #38] INFO -- : Beginning of custom commands

I, [2016-02-02T03:25:19.053237 #38] INFO -- : > echo "End of custom commands"
I, [2016-02-02T03:25:19.055437 #38] INFO -- : End of custom commands

I, [2016-02-02T03:25:19.055904 #38] INFO -- : > awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'
awk: fatal: cannot open file `/root/.ssh/authorized_keys' for reading (No such file or directory)
I, [2016-02-02T03:25:19.060638 #38] INFO -- : Authorized SSH keys for this container:

I, [2016-02-02T03:25:19.061065 #38] INFO -- : Terminating async processes

```

I tried env:

- centos 7.2, root or non-root user;
- ubuntu 14.04, root or non-root user;

---

_[View the full topic](https://meta.discourse.org/t/failed-to-install-due-to-not-found-root-authorized-keys-file/38873)._
