    # File lib/fog/libvirt/models/compute/server.rb, line 181
            def scp(local_path, remote_path, upload_options = {})
              requires :public_ip_address, :username

              scp_options = {}
              scp_options[:password] = password unless self.password.nil?
              scp_options[:key_data] = [private_key] if self.private_key
              scp_options[:proxy]= ssh_proxy unless self.ssh_proxy.nil?

              Fog::SCP.new(public_ip_address, username, scp_options).upload(local_path, remote_path, upload_options)
            end