If you’re using dotcloud and realize that you’re getting this error:
Warning: Identity file ~/.dotcloud/dotcloud.key not accessible: No such file or directory.
You are probably using the old version of the API / CLI. Make sure you upgrade both the CLI and API and also the application.
You may also want to use the `dotcloud info yourapp.www` to get information such as the ssh connect string (`username@host`) and correct port.
The correct for direct ssh would be:
`ssh [email protected] -i ~/.dotcloud/dotcloud.key -p 5678`
Make sure to replace the port numbers and domain string appropriately.
See this article: http://docs.dotcloud.com/guides/copy/