- Generate private key for local test CA.
openssl genrsa -out localTestCA.key 2048- Generate certificate of the local test CA.
openssl req -x509 -new -nodes -key localTestCA.key -sha256 -days 1095 -out localTestCA.crtopenssl genrsa -out localTestCA.key 2048openssl req -x509 -new -nodes -key localTestCA.key -sha256 -days 1095 -out localTestCA.crt| Host your-jumpbox | |
| HostName xxx.xxx.xxx.xxx | |
| User user1 | |
| IdentityFile ~/.ssh/private_key_for_jumpbox | |
| Host endpoint1 | |
| HostName xxx.xxx.xxx.xxx | |
| User user2 | |
| ProxyCommand ssh -q -W %h:%p your-jumpbox |
| #!/bin/sh | |
| # | |
| # Blocks git push except permitted commiters. | |
| # | |
| # To enable this hook, rename this file to "pre-receive". | |
| # parse old, new, ref from stdin | |
| read OLD NEW REF | |
| # get author and committer |