GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::OpenSSH::ShellQuoter::MSCmd(3) User Contributed Perl Documentation Net::OpenSSH::ShellQuoter::MSCmd(3)

Net::OpenSSH::ShellQuoter::MSCmd - Quoter for Windows cmd.exe

This quoter is intended for interaction with SSH servers running on Windows which invoke the requested commands through the "cmd.exe" shell.

Because of "cmd.exe" not doing wildcard expansion (on Windows this task is left to the final command), glob quoting just quotes everything.

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").

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.

2020-02-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.