Connection sharing wrapper for SSH