Packages for ssh at Linux & Starting the service

openssh-server This package is for configuring the ssh at the server pc.

openssh-client This package is for configuring the ssh at the pc that will try to connect to other with that configuration.

We can check with the following command whether the packages are installed or not.

rpm -qa | grep openssh-server

We can install the packages with the following command.

rpm -ivh openssh-server

rpm -ivh openssh-client

Then we have to start the service with the following command

service sshd start

/etc/init.d/sshd start

At Debian we have to install with the following command

apt-get install ssh

At Debian after installing a package, the service starts automatically.

To start the ssh service at any time at Debian we have to use the following command

/etc/init.d/sshd start —- starts the service

/etc/init.d/sshd restart —- restarts the service

/etc/init.d/sshd stop —— stops the service

/etc/init.d/sshd reload —– reloads the service

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: