Aktionen
Setup ssh » Historie » Revision 1
Revision 1/2
| Weiter »
Jeremias Keihsler, 13.01.2017 13:04
Configure ssh-server on a host¶
Requirements¶
To configure ssh you will need the following:- a installed and supported operating system (e.g. CentOS 6.x)
- root-access
- a fast internet connection
Preliminary Note¶
Some basic information may be found at- http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-openssh-server-config.html
- http://wiki.centos.org/HowTos/Network/SecuringSSH
Install ssh¶
usually ssh
is installed by default and the service is started up automatically
yum install openssh-server
Configure ssh¶
vim /etc/ssh/sshd_config
# Prevent root logins: PermitRootLogin no AllowUsers alice bob PubkeyAuthentication yes PasswordAuthentication no
after doing some changes you will have to restart the service
service sshd restart
h2. 5 ssh-service
chkconfig --list sshd
should result in
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 1 Revisionen