Class: Xshellz::Keys::KeyPair
- Inherits:
-
Struct
- Object
- Struct
- Xshellz::Keys::KeyPair
- Defined in:
- lib/xshellz/keys.rb
Overview
An in-memory ed25519 keypair.
private_key_openssh is the private key in OpenSSH format
(-----BEGIN OPENSSH PRIVATE KEY-----). Persist it if you plan to
detach and Sandbox.connect again later from another process.
public_key_line is the single-line OpenSSH public key
(+ssh-ed25519
Instance Attribute Summary collapse
-
#private_key_openssh ⇒ Object
Returns the value of attribute private_key_openssh.
-
#public_key_line ⇒ Object
Returns the value of attribute public_key_line.
Instance Attribute Details
#private_key_openssh ⇒ Object
Returns the value of attribute private_key_openssh
21 22 23 |
# File 'lib/xshellz/keys.rb', line 21 def private_key_openssh @private_key_openssh end |
#public_key_line ⇒ Object
Returns the value of attribute public_key_line
21 22 23 |
# File 'lib/xshellz/keys.rb', line 21 def public_key_line @public_key_line end |