docs:site5:ssh_access

ssh access

  • enable shell access in SiteAdmin, under Advanced Tools
  • on your local machine, generate an ssh key pair
    ssh-keygen -t dsa
  • press enter through the options
  • connect to your site via ftp, and create a .ssh directory at your home location (NOT in public_html) if it doesn't already exist
  • copy your ~/.ssh/id_dsa.pub file to your remote site, inside the .ssh directory
  • create a new file (or append to it) called authorized_keys in .ssh on the remote, and add the contents of the id_dsa.pub file
  • you should now be able to ssh to the remote like this
    ssh remoteuser@remotehost.com
  • docs/site5/ssh_access.txt
  • Last modified: 2010/04/10 02:17
  • by billh