SSH and SFTP use in Go daddy share Hosting is confusing for some developers and some of them even don't know about it. This article for those looking for upload website to GoDaddy in
SFTP And SSH
If you know it that's Great but lets discuss it for those who don't know about it.
SSH also called Secure Shell is a protocol for remotely logging into a machine. Much like Telnet, an SSH client will provide the user with a text session ("shell") on the remote machine. … Similarly, SFTP (Secure FTP) is a file transfer protocol similar to FTP but uses the SSH protocol as the network protocol (and benefits from leaving SSH to handle the authentication and encryption).
So at the end, both are used to interact with the server from your local machine in much secure and easy way then FTP.
SSH to Go Daddy Shared hosting
In mid-scale companies, most of the developer interact with client work have shared hosted websites.
Let's show you how to interact with shared hosting website from Command line through SSH.
In order to do SSH from command line, you will need to enable SSH on your Godaddy Hosting.
Follow the step below to enable SSH in Go Daddy Shared Hosting.
Enable SSH in Go Daddy
- Log-in your Go Daddy Account
- Go to Manage Hosting
- Check the settings there you will find SSH Access
- Click on Manage SSH and you will see a POPUP of SSH Setup
- Copy IP Address, Port, Cpanel Username, Cpanel Password
SSH From Command Line
In order to do SSH you need following details
– IP Address
– Cpanel Username
– Cpanel Password
If you have these details then lets do it with a simple command
where cpanel_username and ip_address is your actual details.
Once you fire this command it will ask you for cPanel password.
Enter Password and enjoy SSH access on your Go Daddy shared hosting.
SFTP From Sublime
You can use same details of cpanel_username, cpanel_password, IP_address to setup you sftp-config. json file on your text editor.
You will need SFTP on your local Machine and sftp package in your sublime text editor.
If you are