# File lib/net/scp.rb, line 459 def scp @scp ||= Net::SCP.new(self) end
Provides a convenient way to initialize a SCP session given a Net::SSH session. Returns the Net::SCP instance, ready to use.
Net::SSH
Net::SCP