class Net::SSH::Connection::Session

Public Instance Methods

scp() click to toggle source

Provides a convenient way to initialize a SCP session given a Net::SSH session. Returns the Net::SCP instance, ready to use.

# File lib/net/scp.rb, line 445
def scp
  @scp ||= Net::SCP.new(self)
end