Articles on: Configuring, Customizing & Troubleshooting

How To Connect To Your Website via SSH/SFTP using FileZilla (PC)

At NameHero we take security very seriously, not only for our protection but for you as well! This tutorial will show you how to configure your PC to connect to your account via SSH/SFTP using FileZilla.

Step 1: If you are a NameHero customer, open a support ticket and make sure SSH is enabled on your cPanel account. By default, all SSH access is disabled on all accounts. Once confirmed that SSH has been enabled on your account, continue to the next steps.

Step 2: Open your web browser and visit this website to download this software: PuYYYGen

Step 3: Once installed run it and click on the “Generate” button:




Step 4: Once the key generates, go ahead and put something in the Key comment to identify the key you just created. Then save the public and private keys in a location you can easily find on your computer. Remember ‘where’ you placed the private key as you’ll need that exact location later in FileZilla in step 15!



Step 5: Now that you have saved both the public and private keys, it’s time to copy the top part of the PuttyGen screen over into cPanel! Highlight the text here and Cntrl C to ‘copy’ it to your memory.



Step 6: Now login to your cPanel account, search for SSH at the top.





Step 7: Now click on ‘Manage SSH keys’:



Step 8: Now click on ‘Import Key’



Step 9: On this step, where it ask for the ‘name’ of your key, you can leave it blank as it will default to id_dsa, but if you will have multiple keys and such, why not name it something you can remember? For this example, I have chosen ‘mylaptop’.



Step 10: We are only importing your public key, so only paste your ssh key from step 5 in the bottom portion as you see here! On this screen, if you have saved your cpanel user/pass in your browser, your browser may be trying to auto populate the name and pass. You can remove all that and leave it like the example below and hit ‘import’ at the bottom.



Step 11: If you see this, you are almost done! Now click on ‘Back to Manage Keys’.



Step 12: Find your new public key and click ‘Manage



Step 13: Now click on ‘Authorize’





Step 14: At this point, you are done in cPanel. Now it’s time to open FileZilla and get you connected!



Step 15: Create a ‘new’ login.

Protocol: SFTP

Host: Enter in the nodeXXX.namehero.net of where your account is located. You can find out what node you are on in cPanel on the right side where it says ‘Server Information’ or ask one of our friendly techs in NameHero chat!.

Port: 37980 (check with NameHero on exact port for your particular server!)


Login type, choose Key file.

For the user, put your cPanel username.

Then, from Step 4 where you saved your public and private keys, browse to the location of your 'private’ key.

Click ‘ok’. DO NOT click ‘Connect’. FileZilla won’t save it unless you first click ‘Ok’.

Once you do that, go back to the connection and click ‘Connect’.



Step 16: Upon first connecting to your account, you will get a ‘pop up’ message about a certificate. This is normal. Save to accept and continue. You will only be asked this one time.

Step 17: You are done! Happy SFTPing!

Updated on: 11/10/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!