File: ssh

package info (click to toggle)
check-all-the-things 2025.02.06
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 468 kB
  • sloc: python: 1,039; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[openssh-private-key]
flags = keys
command = grep -rPzl '(?s)-----BEGIN OPENSSH PRIVATE KEY-----.*-----END OPENSSH PRIVATE KEY-----' .

[ssh2-private-key]
flags = keys
command = grep -rPzl '(?s)---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----.*---- END SSH2 ENCRYPTED PRIVATE KEY ----' .

[ec-private-key]
flags = keys
command = grep -rPzl '(?s)-----BEGIN EC PRIVATE KEY-----.*-----END EC PRIVATE KEY-----' .

[putty-private-key]
flags = keys
command = grep -rPzl '(?s)PuTTY-User-Key-File-[0-9]+: .*Private-Lines: ' .

[openssh-private-key-rsa1]
flags = keys
command = grep -rl '^SSH PRIVATE KEY FILE FORMAT ' .

# vim:ft=dosini