How do i teleport to the ghost ship
For this there is a magic mirror that can be found in the treasure cave. It's not far from the deserted city.
I have it but I don't know how to use it, I've clicked on it and it doesn't show the ghost ship as an option
Try after midnight. But you may need to rest at the fairy tree or use an energy potion to stay up late.