source:
npl/internetserver/libreswan_conf/root/sbin/syn3-ipsecpubkey
Last change on this file was 48bf314, checked in by , 8 years ago | |
---|---|
|
|
File size: 189 bytes |
Rev | Line | |
---|---|---|
[48bf314] | 1 | #!/bin/bash -e |
2 | ||
3 | CKAID=`ipsec showhostkey --list |tail -n1 |sed 's/.* //'` | |
4 | [ "$CKAID" ] || exit 1 | |
5 | ipsec showhostkey --ckaid $CKAID --left |grep leftrsasigkey= | sed 's/.*leftrsasigkey=//' | |
6 |
Note: See TracBrowser
for help on using the repository browser.