Alexander Turiak (@Zifius), Atwix
Приватний ключ:
zendcloud-{containername}.pem → ~/.ssh/zendcloud-zifius.pem~/.ssh/config
Host phpcloud zifius.my.phpcloud.com
Hostname zifius.my.phpcloud.com
User zifius
IdentityFile ~/.ssh/zendcloud-zifius.pem
Host phpcloud-tunnel
User zifius
Hostname zifius.my.phpcloud.com
IdentityFile ~/.ssh/zendcloud-zifius.pem
ProxyCommand corkscrew %h 21653 %h %p
RemoteForward 9000 127.0.0.1:9000
# required for MySQL remote connectivity, change the local port 13306 if needed
LocalForward 13306 zifius-db.my.phpcloud.com:3306
ExitOnForwardFailure yes
#######################################################################
#You have successfully connected to your container. #
#****Shell access is disabled for security reasons.**** #
#You can use this connection to establish tunnels to your container. #
#These can be used for for debugging and managing your mysql database.#
#Please see the following link for further instructions: #
#https://my.phpcloud.com/help/ssh-tunnel-overview #
# #
#######################################################################