Comments on: Fabric – Automate Linux Command Execution and Deployment Over SSH https://www.tecmint.com/automating-linux-system-administration-tasks/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 09 Nov 2023 06:17:49 +0000 hourly 1 By: cent https://www.tecmint.com/automating-linux-system-administration-tasks/comment-page-1/#comment-1019524 Mon, 30 Jul 2018 10:21:42 +0000 http://www.tecmint.com/?p=17162#comment-1019524 Interesting tool, I heard a lot from educational sites before but…

suppose 2 virtual machines hosting many client sites, say one in New York (NY) and another in Berlin (B).
Suppose only your NY machine provides visual root login and works as a shepherd. How would you manage your NY or B machine?

Quite easy: 1) create the php login subsystem in both machnes, 2) sftp bash scripts in both machnes, 3) create the interface between php and bash scripts in NY machine, 4) call commands on shepard that will be forwarded to client server. Done!

The shell is powerfull, the only danger comes from login hijacking but then you have https, ip checking, ip black/white listing etc.

Tell you the truth it worths making a bash template script with extended use of the source bash command and there you have it: config files, parameters in files, utility files (is integer, is character), task specific files etc.

Nothing helpful messing with another language on top of bash I think or…. you can mesh with just because you can but see it as another project on top of the previous giant list!

]]>
By: Aaron Kili https://www.tecmint.com/automating-linux-system-administration-tasks/comment-page-1/#comment-887324 Mon, 01 May 2017 11:18:33 +0000 http://www.tecmint.com/?p=17162#comment-887324 In reply to Indi.

@Indi

Welcome, i think the line is fine. Try to read through the Fabric documentation.

]]>
By: Aaron Kili https://www.tecmint.com/automating-linux-system-administration-tasks/comment-page-1/#comment-887320 Mon, 01 May 2017 10:41:41 +0000 http://www.tecmint.com/?p=17162#comment-887320 In reply to Ankammarao.

@Ankammarao

Many thanks for appreciating our work and always following us.

]]>
By: Indi https://www.tecmint.com/automating-linux-system-administration-tasks/comment-page-1/#comment-887283 Mon, 01 May 2017 07:01:26 +0000 http://www.tecmint.com/?p=17162#comment-887283 That’s a great tool. Thanks for sharing. Found one error though.
In your last example, the second line should read:
from fabric.api import env, sudo

]]>
By: Ankammarao https://www.tecmint.com/automating-linux-system-administration-tasks/comment-page-1/#comment-887279 Mon, 01 May 2017 06:49:28 +0000 http://www.tecmint.com/?p=17162#comment-887279 Very useful explanation for newbies and I am a regular follower of your updated thanks

]]>