Portal Home > Knowledgebase > Articles Database > ssh cpanel
ssh cpanel
Posted by trtrb, 03-10-2014, 07:33 AM |
hi
i use ubuntu and i wanted to know how i can to use
ssh to contact my server[ shared hosting5$ cpanel]
i really don't know how to do that all the guides in ssh[cpanel] on
putty software
i try to do:
ssh xxxx -p 22 -l xxx
ssh xxx@xxx
all of them wont work
should i generate public key in ubuntu and give it to cpanel?
|
Posted by i7Grendel, 03-10-2014, 08:12 AM |
Note that not all shared hosting providers offers SSH access. Check whether you have a working "SSH Access" section in your cPanel.
If it is available, you need to generate an SSH key first, upload the public key to your hosting and enable it for SSH access.
|
Posted by trtrb, 03-10-2014, 09:39 AM |
i send them a message if my hosting plan support ssh
in the meantime can you pls help me what i should do when i
generate the keys?
where i should generate the keys in my ubuntu desktop or in cpanel?
|
Posted by net, 03-10-2014, 09:41 AM |
Moved > Hosting Security and Technology.
|
Posted by my247webhosting, 03-10-2014, 09:53 AM |
You can generate keys on local linux computer using
ssh-keygen -t dsa
here you will get public and privates keys generated
You need to copy the pub key to server to ssh without password to server
|
Posted by trtrb, 03-10-2014, 10:10 AM |
what you mean by copy?
import the pub.key to cpanel?
or
ssh-copy-id -i .ssh/id_rsa.pub name@url
name= cpanel login name
url = my url website [or ip]
that's correct?
and what do you mean in "without password to serrver"
no paraphrase after ssh-keygen -t dsa command ?
|
Posted by Kailash12, 03-10-2014, 12:40 PM |
If your hosting account supports SSH, you can run the following command in your Ubuntu terminal:
# ssh -p port_number user_cpanel_user@server_IP
You only need to use -p port_number if it is different then port 22.
|
Posted by my247webhosting, 03-11-2014, 03:02 PM |
If you are using cpanel control panel
You will need to setup keys to ssh
You can find from below URL how to set it up
http://joshgreendesign.com/web-devel...anaged-website
|
Add to Favourites Print this Article
Also Read
hello (Views: 767)