fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] how to use fabric to enter commands on cli prompt.


From: Rahul K
Subject: [Fab-user] how to use fabric to enter commands on cli prompt.
Date: Tue, 22 Nov 2016 14:00:31 +0530

One of our member has the same problem , as he mentioned the below statement. 

I am using the latest Fabric API to establish SSH connections. In my
case, SSH-ing to the server opens up a CLI (like the ones Routers have). I
need to execute 'enable' command followed by '_shell' command in-order to
finally open up a UNIX shell. The problem here is that I am unable to
automate these specific commands using Fabric. I have tried the
'shell=False' parameter for the run() function.

I am also facing same problem. How we can solve the problem , please let me know.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]