---
title: "Accessing terminal"
date: "2014-11-03"
category: "terminal"
slug: "accessing-terminal"
---

The terminal provides command-line access to your hosting account, allowing you to manage file permissions, edit files, and run services like Node.js or MongoDB. Terminal access is available on eligible plans -- see [[is-terminal-access-available]].

## Login Credentials

- **Username format:** `<username>@<domain>` (or `<username>#<domain>`)
- **Password:** Your control panel password
- **Hostname:** Your domain name
    - If your domain has expired, use your [[what-is-my-server-name]]

### SSH Example

With username `myadmin` and domain `example.com`, connect via SSH:

```
ssh myadmin#example.com@example.com
```

Newer SSH clients also accept `ssh myadmin@example.com@example.com`.

### Control Panel Terminal

You can also access the terminal directly in the [[logging-into-the-control-panel]] under **Dev** > **Terminal**. Your login credentials are pre-filled -- just confirm with your password.

![Terminal interface available within the control panel.](kb-image:terminal-ex.png)
*Terminal interface available within the control panel.*

### Common SSH Pitfall

The standard SSH syntax is `ssh user@host`, but ApisCP logins require the domain in the username. This means the correct format is `ssh user@domain@domain`, not `ssh user@domain`. For example, with username `myuser` and domain `example.com`:

```
ssh myuser@example.com@example.com
```

## Learning Resources

- [Linux Journey](https://linuxjourney.com/)
- [Command Line Crash Course](http://cli.learncodethehardway.org/book/)
- [Linux Command Line](http://code.snipcademy.com/tutorials/linux-command-line)
- [Bash Hackers Wiki](http://wiki.bash-hackers.org/)
