hello,
Is there a way to view the preshared key of a connection?
Thank You!
This thread was automatically locked due to age.
Hallo,
You didn't say it was a site-to-site, but I'll assume that it is and that the associated Remote Gateway is 'Muenchen'. As root,
secure:/root # cc get_object_by_name ipsec remote_gateway 'Muenchen' |grep authentication
'authentication' => 'REF_IpsPsk4',
secure:/root # cc get_object 'REF_IpsPsk4' |grep psk
'psk' => 'H9$@lWW1vD*n-wckUm*29np',
'type' => 'psk'
Is that what you were looking for?
Cheers - Bob
Hallo,
You didn't say it was a site-to-site, but I'll assume that it is and that the associated Remote Gateway is 'Muenchen'. As root,
secure:/root # cc get_object_by_name ipsec remote_gateway 'Muenchen' |grep authentication
'authentication' => 'REF_IpsPsk4',
secure:/root # cc get_object 'REF_IpsPsk4' |grep psk
'psk' => 'H9$@lWW1vD*n-wckUm*29np',
'type' => 'psk'
Is that what you were looking for?
Cheers - Bob