class Net::SSH::Connection::Session

  1. lib/net/scp.rb
Parent: Connection

Methods

Public Instance

  1. scp

Public Instance methods

scp ()

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

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