Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > fabric question

Reply
Thread Tools

fabric question

 
 
Jabba Laci
Guest
Posts: n/a
 
      11-09-2012
Hi,

I'm trying to use fabric to run a command on another Linux machine.
When I call "fab remote_info" (using the example from its
documentation), this is what I get:

local$ fab remote_info
[remote] Executing task 'remote_info'
[remote] run: uname -a
[remote] out: remote@path$

That is, it logs in successfully, but I get no output and I get a
prompt on the remote machine, i.e. it doesn't log out automatically
after calling the remote command. I also tried to specify the absolute
path of uname, same result. Any idea?

Thanks,

Laszlo
 
Reply With Quote
 
 
 
 
Miki Tebeka
Guest
Posts: n/a
 
      11-09-2012
> local$ fab remote_info
> [remote] Executing task 'remote_info'
> [remote] run: uname -a
> [remote] out: remote@path$


What happens when you ssh to the machine and run 'uname -a'?
(The out: ... is the output)
 
Reply With Quote
 
 
 
 
Miki Tebeka
Guest
Posts: n/a
 
      11-09-2012
> local$ fab remote_info
> [remote] Executing task 'remote_info'
> [remote] run: uname -a
> [remote] out: remote@path$


What happens when you ssh to the machine and run 'uname -a'?
(The out: ... is the output)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching fabric Ugarchina Cisco 1 11-07-2006 06:43 PM
6500 modules & netflow - what is the difference between "X-BAR" and "Fabric enabled" , netflow questions zeio@hotmail.com Cisco 0 10-13-2005 12:12 AM
Catalyst 5000 w/ Sup. III - Switching Fabric globalgorrilla@gmail.com Cisco 4 06-27-2005 12:13 PM
What does it mean "fabric-enabled" hktco Cisco 2 10-17-2004 05:37 PM
what is difference bwt fabric and throughput ? James Kang Cisco 1 02-10-2004 01:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57