Is there a way to get current date and time from remote windows machine on linux?
On remote windows machine ssh not enabled, there are no powershell.
Can we achieve result via telnet or smbclient?
Recommended Answers
Jump to PostHow abt rsh? Is that enabled? ssh is just a secure-rsh, so whatever you can do with ssh can also be done with rsh.
Jump to PostSorry my bad. I did not read "from remote windows machine on linux?"
Well, I've never done this. In fact I've never even connected from a windows to windows from command line.
I assume telnet works?
have you tried:telnet <machine> <<EO_MY_INPUT >> output_of_telnet_session.txt <password> date /t …
All 5 Replies
thekashyap
193
Practically a Posting Shark
_neo_
16
Junior Poster in Training
thekashyap
193
Practically a Posting Shark
_neo_
16
Junior Poster in Training
_neo_
16
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.