Script on Vpn Connection

Hello Am look for script like cap config script but that will work over a vpn on connection that ssh into device and changed login to one assigned in config files
be niced if saved a log like cap config script so only try login in once

I tried to mod the cap config script but it expected a mac address the ppp connection format is no mac

any suggestions or point me script could be edit or maybe sample I tried find one that will do same but it cant find any

Admin sstp 192.168.1.135 10.0.0.43 2m18s AES256-CBC
Admin sstp 192.168.1.135 10.0.0.42