Module ssh#
License: Apache 2.0
Version: 0.6.14
Upstream project: https://github.com/inmanta/ssh.git
Entities#
- entity ssh::Key#
Parents:
std::Entity
A public ssh-key used to access virtual machine
- attribute string public_key#
The actual public key that needs to be deployed
- attribute string name#
An identifier for the public key
- attribute string command=''#
The command that can be executed with this public key
- attribute string options=''#
SSH options associated with this public key
- relation ssh::SSHUser ssh_users [0:*]#
other end:
ssh::SSHUser.ssh_keys [0:*]
The following implements statements select implementations for this entity:
std::none
constrainttrue
- entity ssh::SSHUser#
Parents:
std::Entity
An ssh users allows authorized keys to be installed
- attribute string home_dir#
- attribute string user#
- attribute string group#
- relation ssh::Key ssh_keys [0:*]#
other end:
ssh::Key.ssh_users [0:*]
- relation std::Host host [1]#
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
ssh::sshUser
constrainttrue
- entity ssh::Server#
Parents:
ip::services::Server
A ssh server
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
ssh::sshServer
constrainttrue
Implementations#
- implementation ssh::sshServer#
- implementation ssh::sshUser#
Plugins#
- ssh.get_private_key(name: string) string #
Create or return if it already exists a key with the given name. The private key is returned.
- ssh.get_public_key(name: string) string #
See get_private_key
- ssh.get_putty_key(name: string) string #