SshPublicKey.LoadPublicKeys Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
LoadPublicKeys(String)
Loads public keys in ~/.ssh/authorized_keys file format.
Declaration
public static SshPublicKey[] LoadPublicKeys(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | Path to a file with ~/.ssh/authorized_keys file format. |
Returns
Type | Description |
---|---|
SshPublicKey[] | List of SshPublicKey objects. |
LoadPublicKeys(Stream)
Loads public keys in ~/.ssh/authorized_keys file format.
Declaration
public static SshPublicKey[] LoadPublicKeys(Stream input)
Parameters
Type | Name | Description |
---|---|---|
Stream | input | A stream with ~/.ssh/authorized_keys file format. |
Returns
Type | Description |
---|---|
SshPublicKey[] | List of SshPublicKey objects. |