AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Hosting > Virtual Private Servers > FreeBSD VPS > Administration > Advanced > Monday, October 06, 2008

VPS2 SSH Keys


Direct shell access for the root user using a password is disabled by default. You can connect as root if you use SSH keys. SSH keys can be generated in the client that you use to connect to your VPS v2 server with. Follow these steps to generate the SSH key for WinSCP:
  1. Download and install WinSCP. Choose the installation package to include public key tools PuTTYgen and Pageant.
  2. Run PuTTYgen located in the directory where WinSCP was installed. By default PuTTgen is located under Start/Programs/WinSCP3/Key tools.
  3. Click on the SSH2 RSA or SSH2 DSA radio button under Parameters. Do not use SSH1 if possible.
  4. Click Generate under Actions to generate a public/private key pair.
  5. Copy the entire public key under "Public key for pasting into OpenSSH authorized_keys file" and paste the key into the /home/userid/.ssh/authorized_keys or /root/.ssh/authorized_keys file on the VPS2 server. The authorized_keys file may not exist and need to be created.
  6. Enter and confirm a Key passphrase and click Save private key.
  7. Close PuTTYgen.
  8. Start WinSCP3
  9. Under Session enter the Host name, User name, Private key file.
  10. Click Login. You will be prompted for your private key passphrase unless you have already added your private key to the Pageant ssh agent.
Use the Pageant SSH agent thats included with WinSCP to store your key.


Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design