O'Reilly logo

Mastering Bash by Giorgio Zarrelli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration files

Before playing with ssh and having a look at what it can do for us, let's take some time to see what are the most relevant files that are used to manage the ssh service and client. The configuration files for the SSHD daemon are usually stored in /etc/ssh where we can find some interesting files:

  • moduli: This file contains the prime numbers and generators used by sshd in the Diffie-Hellman group exchange key exchange method, which is needed to create the shared session master encryption key.
  • sshd_config: This is the configuration file for the ssh daemon. We will have a closer look at it later to see some interesting and useful directives, which alter the way we connect to a remote server.
  • ssh_config: This is the system-wide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required