Fix: detect RPC endpoint and SSH multiplexing conf

add the `Persist` option