OpenSSH ssh-keycat configuration example for CentOS Linux 7

Get the default configuration file ssh-keycat for OpenSSH, optimized for CentOS Linux 7. This example configuration ensures optimal compatibility and performance for OpenSSH, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/pam.d/ssh-keycat.

For more configurations and setup guides, visit our related files section to further customize your system.

    #%PAM-1.0
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    required     pam_namespace.so


    
  

Config Details

Location
/etc/pam.d/ssh-keycat
Operating system
CentOS Linux 7
Length
8 lines
MD5 checksum
5aa3a8dc7590c1bce2390edb99178b20

Usage

Download the raw file with wget or curl

Wget

wget -O ssh-keycat.example https://exampleconfig.com/static/raw/openssh/centos7/etc/pam.d/ssh-keycat

cURL

curl https://exampleconfig.com/static/raw/openssh/centos7/etc/pam.d/ssh-keycat > ssh-keycat.example