Go Back   Cloud Computing > Support > vps hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-19-11, 05:18
BOD Member
 
Join Date: Apr 2011
Posts: 199
Default SSH key on my cpanel server

I have a cpanel VPS. I need SSH key on my cpanel server.
Can anyone help me with it?
Reply With Quote
  #2 (permalink)  
Old 09-19-11, 06:00
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

A. You can generate a key in Linux with the following command in command line:
Quote:
ssh-keygen
B. You will be asked for a file in which the key should be saved to and for a password for the key:
Quote:
user@localhost: ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa):
Enter password (empty for no password):
Enter same password again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
16:8e:e8:f2:1d:c9:b9:cf:43:9a:b3:3c:c1:1f:95:93 user@localhost
This will create a private key written to /home/user/.ssh/id_dsa and a public key written to /home/user/.ssh/id_dsa.pub. The password is utilized to protect your key. You will be asked for it when you connect via SSH.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 22:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.