Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::OpenSSH::ShellQuoUser:Contributed PerlNet::OpenSSH::ShellQuoter::MSCmd(3)

NAME
       Net::OpenSSH::ShellQuoter::MSCmd	- 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.

       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 AND LICENSE
       Copyright (C) 2008-2014 by Salvador FandiA+-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.

perl v5.24.1			  2015-07-1Net::OpenSSH::ShellQuoter::MSCmd(3)

NAME | DESCRIPTION | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::OpenSSH::ShellQuoter::MSCmd&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help