in reply to Net::OpenSSH mater mode is not working
You have to remove the master_opts line. You are telling the module you are using an already existent master process, so it doesn't accept options telling it how to create a new one.
In any case, using an external master is not very common. Are you sure it is really what you want?
In Section
Seekers of Perl Wisdom