Knowledge Base

The 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?

Views: 1868, Votes: 1

Posted:
15 Jun, 2007 - Savage B.

Updated:
15 Jun, 2007 - Savage B.

Print Email article
What is SSH?

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.

apt-get install openssh-server - This will only install the OpenSSH server.

apt-get install openssh-client - This will only install the OpenSSH 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 ssh
That command should return something similar to this:
root 4133 0.0 0.0 5088 460 ? Ss May22 0:00 /usr/sbin/sshd
This 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.

yum install openssh-server - This will only install the OpenSSH server.
Use the following command to start the SSH daemon:
service sshd start
To 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/sshd
This information indicates that the ssh daemon is installed and running.
Other articles in this category
document How do I install the Zaptel drivers on a system running Fedora Core?
document How do I install Zaptel drivers on a system running Redhat?
document Do I need a sound card for music on hold or voicemail?
document How do I install Digium's T1/E1 cards?
document What do I do if I can't compile Zaptel package on my system ?
document How do I upgrade the firmware on my S100i / S101i (Iaxy)?
document How do I install the TDM2400P/TDM400P?
document Can I use G.729 on a 64-bit system?
document I get errors mentioning "zone_lock" when I try to compile zaptel. How do I fix it?
document How do I troubleshoot problems over email with Digium's Technical Support staff?
document What is fxotune and how do I use it?

RSS Powered by KBPublisher (Knowledge base software)