User Tools

Site Tools


sshd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sshd [2015/05/17 17:44]
sshd [2015/05/17 17:44] (current)
Line 1: Line 1:
 +====== Secure Shell Daemon ======
 +The Secure Shell Daemon (sshd) is a server program that accepts secure remote logins via the [[ssh|Secure Shell]] protocol.
  
 +====== Installation ======
 +<code bash>
 +aptitude install openssh-server
 +</​code>​
 +
 +I recommend that you disable password logins in ''/​etc/​sshd/​sshd_config''​. Work with RSA keys instead.
 +<code ini>
 +PasswordAuthentication no
 +</​code>​
 +
 +It is also a good idea to shift the ''​ssh''​ server away from the standard port 22 if the sshd faces the internet. That reduces the number of script attacks and keeps your logs cleaner.
 +
 +If you want to automatically start the ''​sshd''​ then do the following.
 +
 +Ubuntu:
 +<​code>​
 +update-rc.d ssh defaults
 +</​code>​
 +
 +Gentoo:
 +<​code>​
 +rc-update add ssh default
 +</​code>​
sshd.txt ยท Last modified: 2015/05/17 17:44 (external edit)