class Net::SSH::Connection::Session

def scp

session. Returns the Net::SCP instance, ready to use.
Provides a convenient way to initialize a SCP session given a Net::SSH
def scp
  @scp ||= Net::SCP.new(self)
end