FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    os:windows:winope:index.html [2018/02/02 10:17] kurihara  | 
                
                    os:windows:winope:index.html [2018/02/22 23:29] (current) kurihara [How to Check to Use Fabric in Windows]  | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== Windows Operation (winope.py)===== | + | ====== Windows Operation  | 
| $FHHOME/ | $FHHOME/ | ||
| Line 7: | Line 7: | ||
| \\ | \\ | ||
| - | ===== Operation ===== | + | ===== Operation  | 
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | ==== Ref. Remote Shell Commands  | + | \\ | 
| + | ==== How to Check to Use Fabric in Windows ==== | ||
| + | <sxh bash toolbar: | ||
| + | $ ssh user01@xx.xx.xx.xx hostname | ||
| + | $ ssh user01@xx.xx.xx.xx " | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | ==== Fabric one-line Task Examples  | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ fab -H xx.xx.xx.xx -u USER -p PASSWORD --shell=" | $ fab -H xx.xx.xx.xx -u USER -p PASSWORD --shell=" | ||
| Line 27: | Line 35: | ||
| <sxh python toolbar: | <sxh python toolbar: | ||
| - | import sys | + | import sys, os | 
| from fabric.api import * | from fabric.api import * | ||
| from fabric.contrib import files | from fabric.contrib import files | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.