> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing and editing files with UltraEdit

> Publish and edit files on hosting.com with UltraEdit, featuring SSH access for command line control.

This article describes how to publish and edit files to a hosting.com server using UltraEdit. UltraEdit also provides SSH functionality that you can use to access your hosting.com account from the command line.

## Publishing and editing files on a hosting.com server

With UltraEdit, you can edit files directly on the server. Additionally, you can create files on your local computer, and then upload them to the server.

Before you can do either of these tasks, however, you must first set up an SFTP (Secure File Transfer Protocol) account in UltraEdit. To do this, follow these steps:

1. On the **File** menu, click **FTP/Telnet**, and then click **FTP Account Manager**.

2. Click **Add account**.

3. On the **General** tab, in the **Account** text box, type a name for the account.

4. In the **Protocol** list box, select **SFTP**.

5. In the **Server** text box, type your domain name (for example, **example.com** ).

6. In the **Port** text box, type `22`.

   > 🚧 Important
   >
   > Make sure you use the correct SSH port number for your account. For example, some hosting accounts use a different port for SSH, such as 7822.

7. In the **Username** text box, type your hosting.com account (cPanel) username.
   > 📘 Note
   >
   > If you do not know your cPanel username or password, you can use the hosting.com Hosting Panel to view it. For more information, please see [this article](/docs/viewing-and-changing-login-settings-for-shared-hosting-accounts).

8. In the **Password** text box, type your hosting.com account (cPanel) password.

9. If you do not want to retype your password every time UltraEdit connects to your account, select the **Save password** check box.

10. Click **Apply**, and then click **OK**. You are now ready to publish and edit files on the server.

### Editing files on the server

UltraEdit enables you to edit files directly on the server. To do this, follow these steps:

1. On the **File** menu, click **FTP/Telnet**, and then click **Open from FTP**.

2. In the list box, select the name of the FTP account that you created in the previous procedure, and then click **Connect**.

3. If UltraEdit asks if you want to store the key in the cache, click **Yes**. After UltraEdit connects to the server, a directory listing of your account appears.

4. Select the file that you want to edit, and then click **Open**.
   > 👍 Tip
   >
   > Alternatively, you can just double-click the file.

5. Depending on the file's format, you may receive the following message:

```
Do you want to convert filename to DOS format?
```

Because hosting.com's servers run Linux, you should normally click **No** to maintain the UNIX/Linux file format. Only convert the file to DOS format if you are sure you want to do so.

6. Make the changes to the file that you want, and then on the **File** menu, click **Save**.

<Tip>
  Alternatively, you can press Ctrl-S.
</Tip>

7. UltraEdit saves the changes to the file on the server.

### Publishing files to the server

In addition to editing files on the server directly, you can create new files in UltraEdit, and then upload them to your account. To do this, follow these steps:

1. In UltraEdit, create a new file or open an existing file.

2. On the **File** menu, click **FTP/Telnet**, and then click **Save As to FTP**.

3. In the list box, select the name of the FTP account that you created in the previous procedure, and then click **Connect**.

4. If UltraEdit asks if you want to store the key in the cache, click **Yes**. After UltraEdit connects to the server, a directory listing of your account appears.

5. Navigate to the folder where you want to save the file.

6. Confirm the filename or type a new filename, and then click **Save**. UltraEdit uploads the file to the server in the directory you specified.

## Using SSH to access the command line

In addition to file editing and upload capabilities, UltraEdit includes SSH (Secure Shell) console functionality. You can use this to access your account from the command line. To do this, follow these steps:

1. On the **File** menu, click **FTP/Telnet**, and then click **SSH/Telnet Account Manager**.

2. Click **Add account**.

3. On the **General** tab, in the **Account** text box, type a name for the account.

4. In the **Protocol** list box, select **SSH**.

5. In the **Server** text box, type your domain name (for example, **example.com** ).

6. In the **Port** text box, type `22`.

   > 🚧 Important
   >
   > Make sure you use the correct SSH port number for your account. For example, some hosting accounts use a different port for SSH, such as 7822.

7. In the **Username** text box, type your hosting.com account (cPanel) username.
   > 📘 Note
   >
   > If you do not know your cPanel username or password, you can use the hosting.com Hosting Panel to view it. For more information, please see [this article](/docs/viewing-and-changing-login-settings-for-shared-hosting-accounts).

8. In the **Password** text box, type your hosting.com account (cPanel) password.

9. If you do not want to retype your password every time UltraEdit connects to your account, select the **Save password** check box.

10. Click **Apply**, and then click **OK**.

11. On the **File** menu, click **FTP/Telnet**, and then click **SSH/Telnet Console**.

12. In the list box, select the name of the account that you specified in step 3, and then click **Connect**.

13. If UltraEdit asks if you want to store the key in the cache, click **Yes**. After UltraEdit connects to the server, a command prompt appears in the console window where you can type commands.
    > 👍 Tip
    >
    > For an introduction to Linux commands and the command line environment, please see [this article](/docs/introduction-linux-commands).

## More information

For more information about UltraEdit, please visit [http://www.ultraedit.com](http://www.ultraedit.com).
