lib/vagrant/zscp/helper.rb in vagrant-zscp-0.1.6 vs lib/vagrant/zscp/helper.rb in vagrant-zscp-0.1.7
- old
+ new
@@ -33,10 +33,11 @@
machine.ui.info("Copying #{temp_file} to #{guestpath}")
command = [
"scp",
'-o StrictHostKeyChecking=no',
+ '-o LogLevel=quiet',
'-o UserKnownHostsFile=/dev/null',
"-o port=#{ssh_info[:port]}",
"-i '#{ssh_info[:private_key_path][0]}'",
"#{temp_file}",
"#{username}@#{host}:#{guestpath}"
@@ -50,9 +51,10 @@
def self.remotely_execute(ssh_info, command)
ssh_command = [
'ssh',
'-o StrictHostKeyChecking=no',
+ '-o LogLevel=quiet',
'-o UserKnownHostsFile=/dev/null',
"-o port=#{ssh_info[:port]}",
"-i '#{ssh_info[:private_key_path][0]}'",
"#{ssh_info[:username]}@#{ssh_info[:host]}",
"'#{command}'"