# Cloning a site to the same server fails

**Project:** Bugs | **Board:** Live | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/7-bugs/items/1571-cloning-a-site-to-the-same-server-fails

---

I attempted to clone a site to a new site on the same server and got the following error:
> The file transfer failed with rsync exit code 255.
> 
> Warning: Permanently added '149.28.37.216' (ED25519) to the list of known hosts.
> ploi@149.28.37.216: Permission denied (publickey).
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: unexplained error (code 255) at io.c(232) [sender=3.2.7]
> PLOI-RSYNC-EXIT: 255

When cloning to the same server, ssh should not be used.
