Displaying 1 result from an estimated 1 matches for "subscribe_user".
2007 Aug 22
0
weird error - illegal instruction
...box) it spits out
illegal instruction (core dumped) error.
Now I have net/ssh gem installed on production machine.
Any suggesstions is appreciated.
Thanks,
Dev.
------------begine code------------------------------
require ''rubygems''
require ''net/ssh''
def subscribe_user
#User added to distribution list
Net::SSH.start(''xyz'', ''username'', ''pwd'') do |session|
shell = session.shell.sync
out = shell.sudo "-u abcdedf"
p out.stdout
p out.status
p out.stderr...