Summary: This page contains information for connecting into your site using SSH.
Obtaining your Credentials
After ordering your instance from Seravo.com you’ll get an email which includes your credentials. It looks something like this:
SSH/SFTP: Host: example-site.seravo.com Port: 12345 User: example-site Pass: 123456abcdefgh
We advice you to use
~/.ssh/config file for easier ssh management.
Add following lines to your config:
Host example-site HostName example-site.seravo.com User example-site Port 12345 ForwardAgent yes
ForwardAgent yes- allows you to use your ssh credentials in the production machine to access private code from Github or Bitbucket.
Using SSH-key authentication
We advice you to use ssh key instead of password for accessing your site. Read more about generating ssh keys.
Using Vagrant SSH
Keep in mind when using use the
vagrant ssh command to enter your Vagrant box, SSH ForwardAgent is automatically enabled and your personal keys are used to access the production environment. These are used for
wp-pull-production-db. The Vagrant image itself does not contain any private SSH keys.
OS X users: You can install ssh-copy-id with Homebrew:
$ brew install ssh-copy-id
Windows users: Install your ssh key through Putty instead. Cygwin is also a great choice for all your terminal tools (ssh, rsync, git..) under Windows.
After the following step you have successfully installed your ssh key into your WP instance:
# This will install your ssh-key into your Seravo instance. # Remember we set your credentials in the last step and the name of your site won't be example-site $ ssh-copy-id example-site The authenticity of host '[example-site.seravo.com]:12345 ([126.96.36.199]:12345)' cant be established. RSA key fingerprint is xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy:xy. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[example-site.seravo.com]:12345' (RSA) to the list of known hosts. firstname.lastname@example.org's password: # After you enter your password you have installed your ssh key. # After this setup you can login to your instance by: $ ssh example-site