diff options
author | Patrick Simianer <p@simianer.de> | 2016-04-21 11:36:30 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-04-21 11:36:30 +0200 |
commit | 348bc9e6c0a30844b268fc5dbd431deb65daea9a (patch) | |
tree | 52a9fb5c00bca65de9b0b12f2152fb773a188ddd /shell | |
parent | 6b562157bf50c515f5380ed659573aa40661fac7 (diff) |
shell
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ssl_ssh | 6 |
1 files changed, 6 insertions, 0 deletions
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" + |