You can use SSH (Secure Shell) to access the command line on a ClearOS system.
Linux and MacOS
Linux and MacOS X already have SSH clients installed by default. On Mac, the terminal program can be found under the Utilities folder in Applications. Open up a terminal window and type:
Change 192.168.1.1 to the IP address of your ClearOS system. Type in your system password and you will find yourself at the ClearOS command prompt.
For Windows users, you can download the free Putty SSH tool for remote shell / command line access. After you start up the software:
type in the IP address or hostname into the host name field
type in root at the login prompt and then your system password
You will find yourself at the ClearOS command prompt.
Connecting Externally to Your Server via SSH
You can open up external access to your server by allowing incoming SSH (port 22) in Network|Firewall|Incoming.
Select SSH under Standard Services and click
Because SSH is a common management port, you should enable the Intrusion Detection and Prevention modules to protect this port if you open it up on the outside.
Part of the capabilities of the SSH protocol is the ability securely transfer data to and from the server. This is commonly called secure copy or SCP. This can be done using command line on Mac and Linux. In Windows, a graphical program called WinSCP is free and useful for performing these tasks. You can also use Fugu on Mac as a graphical frontend for SCP.
SCP works similarly to the CP (copy) program in POSIX systems. For example, if you wanted to copy a file to the server you could type the following:
scp test.txt email@example.com:/var/
This would copy the file test.txt to the /var directory of the server named server.example.com using root as the username. For more information, visit this link.