go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/connection/ssh/cat/testdata/cat.toml (about) 1 [commands."uname -m"] 2 stdout = "x86_64" 3 4 [commands."uname -s"] 5 stdout = "Linux" 6 7 [commands."sudo uname -s"] 8 stdout = "Linux" 9 10 [commands."cat /etc/os-release"] 11 stdout = """ 12 NAME="CentOS Linux" 13 VERSION="7 (Core)" 14 ID="centos" 15 ID_LIKE="rhel fedora" 16 VERSION_ID="7" 17 PRETTY_NAME="CentOS Linux 7 (Core)" 18 ANSI_COLOR="0;31" 19 CPE_NAME="cpe:/o:centos:centos:7" 20 HOME_URL="https://www.centos.org/" 21 BUG_REPORT_URL="https://bugs.centos.org/" 22 23 CENTOS_MANTISBT_PROJECT="CentOS-7" 24 CENTOS_MANTISBT_PROJECT_VERSION="7" 25 REDHAT_SUPPORT_PRODUCT="centos" 26 REDHAT_SUPPORT_PRODUCT_VERSION="7" 27 """ 28 29 [commands."sudo test -e /etc/ssh/sshd_config"] 30 stdout = "" 31 32 [commands."sudo cat /etc/ssh/sshd_config"] 33 stdout = """ 34 X11Forwarding no 35 PermitRootLogin no 36 PasswordAuthentication yes 37 MaxAuthTries 4 38 UsePAM yes 39 """ 40 41 42 [commands."sudo stat -L /etc/ssh/sshd_config -c '%s.%f.%u.%g.%X.%Y.%C'"] 43 stdout = """4317.8180.0.0.1590420240.1590418792.? 44 """ 45 46 [commands."sudo test -e /etc/ssh"] 47 stdout = "" 48 49 [commands."sudo stat -L /etc/ssh -c '%s.%f.%u.%g.%X.%Y.%C'"] 50 stdout = """271.41ed.0.0.1635245760.1635147499.? 51 """ 52 53 [commands."sudo ls -1 '/etc/ssh'"] 54 stdout = """ssh_config 55 ssh_config.d 56 ssh_host_ecdsa_key 57 ssh_host_ecdsa_key.pub 58 ssh_host_ed25519_key 59 ssh_host_ed25519_key.pub 60 ssh_host_rsa_key 61 ssh_host_rsa_key.pub 62 sshd_config 63 sshd_config.rpmnew"""