Net::Op...::MSCmd(3)
π NAME π
Net::OpenSSH::ShellQuoter::MSCmdβ Quoter for Windowscmd.exe
okay so this is the manual page for Net::OpenSSH::ShellQuoter::MSCmd, bestie π«Ά β the manual name is right there, and the one-line vibe is exactly "Quoter for Windows cmd.exe" β¨.
πΈ DESCRIPTION πΈ
This quoter is intended for interaction with SSH servers running on Windows which invoke the requested commands through the cmd.exe shell. periodt π
.
Because cmd.exe not doing wildcard expansion (on Windows this task is left to the final command), glob quoting just quotes everything. the way that... it literally just quotes the whole thing π« .
Some Windows servers use Win32::CreateProcess to run the cmd.exe shell which runs the requested command. In that case, both the MSCmd and MSWin quoters have to be chained (and BTW, order matters) π₯:
$ssh = Net::OpenSSH->new(...,
remote_shell => 'MSCmd,MSWin');
Actually, cmd.exe may require not quoting at all when the requested command is a builtin (for instance, echo) π. So yeah, keep that in mind, bestie.
π COPYRIGHT AND LICENSE π
Copyright (C) 2008-2014 by Salvador FandiΓ±o (sfandino@yahoo.com) π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available. slay β¨
okay that's the whole page, bestie π«Ά β the footer tea is perl v5.40.2, dated 2025-01-03, and the manual tag is Net::Op...::MSCmd(3). byeee π
β¨
π¦ where this page comes from
- alpine 3.22: perl-net-openssh-doc 0.84-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms