From: Harvie Date: Sun, 30 May 2010 13:08:09 +0000 (+0200) Subject: Added script which should be able to change banner in sshd binary one day... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=0c98fe248309f9207f5b4e5a2b422a9223ab0c0e;p=mirrors%2FPrograms.git Added script which should be able to change banner in sshd binary one day... --- diff --git a/bash/ssh-banner.sh b/bash/ssh-banner.sh new file mode 100644 index 0000000..0220573 --- /dev/null +++ b/bash/ssh-banner.sh @@ -0,0 +1,2 @@ +#!/bin/bash +strings /usr/sbin/sshd | tr , '\n' | egrep 'OpenSSH[-_][0-9](\.[0-9])*(p[0-9])?$' | head -n 1