Try the following switches.
-no-antispoof
-batch
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
In my environment I have Windows and Linux servers. I've been creating a script to shutdown both SOs remotely. In Windows 10 and 2016 etc., there's an ssh client embedded. However, We use Windows 8 and Windows Server 2012, Hence, I need to use a non-native option, like Putty. Putty has plink command, and I can shutdown Linux Servers by using this command. But, this is an issue: when I shutdown a remote linux, the following event occurs:
C:\Program Files\PuTTY>"C:\Program Files\PuTTY\plink.exe" -ssh 10.0.1.57 -l root -pw 123abc1 shutdown -r now
Access granted. Press Return to begin session.
And obligatorily I have to press Enter to go on the command.
Is there a way to execute this command without pressing Enter, since I'll use this command in a script that will shutdown both Windows and Linux Servers in my network?
Thank you very much.
Try the following switches.
-no-antispoof
-batch
--please don't forget to Accept as answer if the reply is helpful--