Technical, Sales, Non-Technical Q & A
TMDHosting » SSH
If you would like to edit a certain file, you may do so by using the following command: vim <filename> <filename> should be substituted with the name of the file that you are looking to edit. Please bare in mind, that you have to be in the same directory that the file is [...]
To create a new fie, simply use the command below: touch example This will create a new file with the name “example” in the directory that you are currently in. If you are looking to create a php file for example, you will also need to include the extension: touch example.php [...]
In order to create a new directory, use the following command: mkdir example This will create a new directory with the name “example”. Of course, you may substitute the name with anything else that you would like. The directory will be created in the directory that you are currently in. Alternatively, you [...]
In order to list directories and files simply use the “ls” command (without the quotes) – this will bring up a list of the contents of the directory that you are currently in. Using “ls -lah” (without the quotes) will also list the details about the files and directories, such as their permissions and [...]
In order to review all arguments that can be used with a certain command, simply type the command name followed by “–help” (without the quotes). This will bring up a list of all arguments and variables that can be applied to that command and a brief explanation of what they do
If you are looking to remove a directory, simply use the following command: rm -rf <directory name> The rm is the actual deletion command, while the -r argument in the command makes it recursive and the f forces the command and bypasses the need to confirm the deletion of every single file in [...]
To remove a file when using SSH, use the following command: rm <filename> <filename> should be substituted with the name of the file you are looking to remove
In order to change the permissions of files or folders with SSH, simply use the following command: chmod 000 <name> 000 in the above command should be substituted with the permission set you are looking to use, such as 755 or 644 for example <name> should be substituted with the name of the [...]
In order to export a database via SSH, simply enter the following command: mysqldump -u<username> -p<password> database_name > example.sql You will need to substitute the following in the command: <username> – either your cPanel username or a username associated with the database you are exporting <password> – the password associated with the username [...]
In order to import a database via SSH, simply enter the following command, while being in the directory, that your database dump is located: mysql -u<username> -p<password> database_name < example.sql You will need to substitute the following in the command: <username> – either your cPanel username or a username associated with the database you [...]
If you would like us to enable SSH access for your hosting account, you will have to provide us with a scanned copy of your ID card, passport or other, government issued document, verifying your identity. The scan should be sent to: firstname.lastname@example.org Once that is done, simply submit a technical support ticket and once [...]
There are multiple free SSH clients available on the Internet and you should choose one that you feel comfortable using. An SSH client that we suggest using is PuTTY, which is quite user friendly and easy to use. You can download it by visiting the following link: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
In order to access your hosting account via SSH, simply connect to either your domain name, the hostname of the server that your account is on or the IP address of the server, with your SSH client. The port number that you should use is 16969.
SSH or Secure Shell is a network protocol, used for remote shell services, command execution, secure data communication and other secured network services. It is used to securely connect two networked computers over an otherwise unsecured network, that are respectively running and SSH client and an SSH server.