Hi
fab tool really got me, managing Linux boxes and performing some local tasks
is becoming fun, really.
I am thinking to extend my use from managing Linux boxes to Windows ones
(sometime I have no other choice) and wonder, if anyone really uses fabric
to control Windows machine and what is the best practise.

What I already did:

   - Searching fabdoc doc: not a Windows word
   - Searching mail archive: some tries found (probably using cygwin), but I
   did not learn much (responsiveness of the server was a bit too slow)
   - read article about installing ssh on windows:
   
http://www.windowsnetworking.com/articles_tutorials/install-ssh-server-windows-server-2008.html
and
   installed Free SSHd
   - tried to perform some commands and having problems

(note, I do not have cygwin installed)

*without specifying shell, I get Fatal error
*

D:\dev\test_project\src\fabfile4win>fab  mydir
[javl@stolistek] Executing task 'mydir'
[javl@stolistek] run: dir
[javl@stolistek] Login password:
[javl@stolistek] out: Unable to execute command or shell on remote system:
Failed to Execute process.
[javl@stolistek] out:

Fatal error: run() encountered an error (return code 4294967295) while
executing 'dir'

Aborting.
Disconnecting from stolistek... done.

D:\dev\test_project\src\fabfile4win>

*shell set to C:/WINDOWS/system32/cmd.exe does not change anything*

D:\dev\test_project\src\fabfile4win>fab -s C:/WINDOWS/system32/cmd.exe mydir

*shell set to cmd.exe moves a bit on but not much*

D:\dev\test_project\src\fabfile4win>fab -s cmd.exe mydir
[javl@stolistek] Executing task 'mydir'
[javl@stolistek] run: dir
[javl@stolistek] Login password:
[javl@stolistek] out: Microsoft Windows XP [Verze 5.1.2600]
[javl@stolistek] out: (C) Copyright 1985-2001 Microsoft Corp.
[javl@stolistek] out:
[javl@stolistek] out: C:\Documents and Settings\javl\Plocha>

the fab task hangs here and must be cancelled

And so on, no big progress seen. Any advise appreciated. Even such as "do
not try this".

With best regards

Jan Vlčinský
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to