search for: ssh_remote_execute

Displaying 1 result from an estimated 1 matches for "ssh_remote_execute".

2011 Sep 22
1
CloudPack problems with CentOS AMIs
...orking with CloudPack and the image ami-08728661 (and it probably apples to other CentOS images as well) 1) the ssh user in this AMI is ec2-user, but sudo to root is not possible in the ssh command unless pseudo-tty allocation forced with ssh -t option. so I changed cloudpack.rb, line 573 from: ssh_remote_execute(server, options[:login], install_command, options[:keyfile]) to process = "ssh -t #{options[:login]}@#{server} -i #{options[:keyfile]} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \"#{install_command}\""; IO.popen(process) do |f| until f.eof?...