Class: Net::SSH::Connection::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/net/scp.rb

Instance Method Summary collapse

Instance Method Details

#scpObject

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


411
412
413
# File 'lib/net/scp.rb', line 411

def scp
  @scp ||= Net::SCP.new(self)
end