Reg wnds from linux

FOr linux , I use like this :

Net::SSH.start( req["ipAddress"], req["username"], :password => 

req[“password”])
do |ssh|

                       "success"
                         return true

end

For windows how canm i connect from linux like this ,shall i use ntlm
module or any else?

Thanks & regards,
Indra K