Knowledge BaseThe Digium Knowledge Base is a searchable library of troubleshooting advice and current information updated by Digium support technicians. |
|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Knowledge Base / Installation / How do I install and start the OpenSSH daemon?
How do I install and start the OpenSSH daemon? |
|||||
SSH is a protocol created to allow data to be sent over a secure channel between two endpoints. The data sent over an SSH connection is encrypted. A standard SSH connection uses port 22. Digium® uses SSH to connect to a customer's Linux® server securely. How to install and start the SSH daemon on most Linux distributions. Use the following instructions to install and start the SSH daemon on the Linux distribution of your choice. Debian based: (Ubuntu , Kubuntu, Xubuntu, Debian , Knopix (etc). Debian uses a package management system called APT. To install OpenSSH (server and client) on Debian, run tthe following command: apt-get install ssh - This will install the OpenSSH server and client.To start the ssh daemon use the following command: /etc/init.d/ssh start - Starting OpenBSD Secure Shell server.To make sure the ssh daemon is running use the following command: ps aux | grep sshThat command should return something similar to this: root 4133 0.0 0.0 5088 460 ? Ss May22 0:00 /usr/sbin/sshdThis information indicates that the ssh daemon is installed and running. RedHat® based: (Fedora Core, CentOS, WhiteBox Linux, etc...) Use the following commands to install and start the SSH daemon on a RedHat based system. yum install openssh-clients - This will only install the OpenSSH client.Use the following command to start the SSH daemon: service sshd startTo ensure the ssh daemon is running: ps aux | grep sshd That command should return something similar to this: root 4133 0.0 0.0 5088 460 ? Ss May22 0:00 /usr/sbin/sshdThis information indicates that the ssh daemon is installed and running. |
|||||
