From 348bc9e6c0a30844b268fc5dbd431deb65daea9a Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 21 Apr 2016 11:36:30 +0200 Subject: shell --- shell/ssl_ssh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 shell/ssl_ssh diff --git a/shell/ssl_ssh b/shell/ssl_ssh new file mode 100644 index 0000000..90dc73f --- /dev/null +++ b/shell/ssl_ssh @@ -0,0 +1,6 @@ +# tunnel to view hadoop admin pages locally (e.g., links http://localhost:50030) +ssh -f user@hadoop.login.host -L 50070:namenode.host:50070 -L 50030:jobtracker.host:50030 -N + +# get cert +openssl s_client -connect some.host:993 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin | sed "s|:||g" + -- cgit v1.2.3