MyD


Server world

  • OpenSSH
  • Useful commands
  • DEBIAN: Network configuration

Software build

  • SPACK: 1-Install and configure
  • StarLink 2021A: Installation on Fedora 35
Astroparticle physics suite
  • StarLink 2021A: Installation on Fedora 35
  • Home
  • Docs
  • Server world
  • OpenSSH

OpenSSH

Table of Contents
  • Install and configure OpenSSH server
  • Enable SSH key-pair authentication(passwordless)

Install and configure OpenSSH server #

# Ubuntu, Debian
apt -y install openssh-server
# Fedora, CentOS
yum -y install openssh-server
# Edit the configuration file
vim /etc/ssh/sshd_config
#  and disallow root login
PermitRootLogin no

Edit the server configuration file:

vim /etc/ssh/sshd_config
# disallow root login
PermitRootLogin no

Enable SSH key-pair authentication
(passwordless) #

On the client:

user:~$ ssh-keygen -t rsa

Useful commands
Table of Contents
  • Install and configure OpenSSH server
  • Enable SSH key-pair authentication(passwordless)

MyD is proudly powered by WordPress