All Projects → Oefenweb → ansible-ssh-keys

Oefenweb / ansible-ssh-keys

Licence: MIT License
Ansible role to manage ssh keys in Debian-like systems

Programming Languages

Dockerfile
14818 projects
Jinja
831 projects

Projects that are alternatives of or similar to ansible-ssh-keys

Bastillion
Bastillion is a web-based SSH console that centrally manages administrative access to systems. Web-based administration is combined with management and distribution of user's public SSH keys.
Stars: ✭ 2,730 (+10400%)
Mutual labels:  ssh-server, ssh-key, ssh-client
Deb Simple
A lightweight, bare-bones apt repository server
Stars: ✭ 222 (+753.85%)
Mutual labels:  debian, ubuntu
Mindforger Repository
MindForger documentation repository.
Stars: ✭ 221 (+750%)
Mutual labels:  debian, ubuntu
pacstall-programs
Pacstall's official program repository
Stars: ✭ 63 (+142.31%)
Mutual labels:  debian, ubuntu
InstallOS
Network reinstallation of the Linux system.
Stars: ✭ 34 (+30.77%)
Mutual labels:  debian, ubuntu
Howdy
🛡️ Windows Hello™ style facial authentication for Linux
Stars: ✭ 3,237 (+12350%)
Mutual labels:  debian, ubuntu
ansible-dnsmasq
Ansible role to set up Dnsmasq in Debian-like systems
Stars: ✭ 18 (-30.77%)
Mutual labels:  debian, ubuntu
Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (+665.38%)
Mutual labels:  debian, ubuntu
Kvm Install Vm
Bash script to build local virtual machines using KVM/libvirt and cloud-init.
Stars: ✭ 248 (+853.85%)
Mutual labels:  debian, ubuntu
Iptables Boilerplate
rock solid default firewall-rules for webhosts
Stars: ✭ 249 (+857.69%)
Mutual labels:  debian, ubuntu
tallow
Block hosts that attempt to bruteforce SSH using the journald API.
Stars: ✭ 79 (+203.85%)
Mutual labels:  ssh-server, ssh-client
sublime-patcher
Bash script for patching/cracking Sublime Text on Linux
Stars: ✭ 20 (-23.08%)
Mutual labels:  debian, ubuntu
dawgmon
dawg the hallway monitor - monitor operating system changes and analyze introduced attack surface when installing software
Stars: ✭ 52 (+100%)
Mutual labels:  debian, ubuntu
Mtprotoproxyinstaller
One-click script to install MTProto Proxy server on CentOS, Ubuntu and Debian
Stars: ✭ 216 (+730.77%)
Mutual labels:  debian, ubuntu
Lamp
Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS/Debian/Ubuntu
Stars: ✭ 2,456 (+9346.15%)
Mutual labels:  debian, ubuntu
Termite Style
Simple script to change color-schemes and fonts for Termite.
Stars: ✭ 224 (+761.54%)
Mutual labels:  debian, ubuntu
intellij-idea-ultimate
Unofficial .deb packages of IntelliJ IDEA Ultimate Edition. This is a mirror of https://gitlab.com/mmk2410/intellij-idea-ultimate
Stars: ✭ 16 (-38.46%)
Mutual labels:  debian, ubuntu
Vlc Bittorrent
A bittorrent plugin for VLC.
Stars: ✭ 198 (+661.54%)
Mutual labels:  debian, ubuntu
Rpi Pxe Server
setup a Raspberry Pi as an PXE-Server
Stars: ✭ 197 (+657.69%)
Mutual labels:  debian, ubuntu
I3 Gaps Deb
Tool to create and install Debian (or Ubuntu) packages of i3-gaps.
Stars: ✭ 236 (+807.69%)
Mutual labels:  debian, ubuntu

ssh-keys

CI Ansible Galaxy

Manage ssh public key authentication (public / private / authorized keys and known hosts) in Debian-like systems.

Requirements

None

Variables

  • ssh_keys_generate_keys: [default: []]: Keys to generate locally

  • ssh_keys_generate_keys.{n}.path: [required] The local path where the key should be generated

  • ssh_keys_generate_keys.{n}.cipher: [default: None]: The cipher to encrypt the private key

  • ssh_keys_generate_keys.{n}.format: [default: OpenSSH]: The format of the public key

  • ssh_keys_generate_keys.{n}.force: [default: false]: Whether to regenerate the key pair if it already exists

  • ssh_keys_generate_keys.{n}.owner: [required]: The name of the user that should own the key pair

  • ssh_keys_generate_keys.{n}.group: [default: owner]: The name of the group that should own the key pair

  • ssh_keys_generate_keys.{n}.mode: [default: 0600]: The UNIX permission mode bits of the key pair

  • ssh_keys_generate_keys.{n}.passphrase: [default: '']: The passphrase for the private key

  • ssh_keys_generate_keys.{n}.size: [default: 4096]: Size in bits of the TLS/SSL key to generate

  • ssh_keys_generate_keys.{n}.type: [default: RSA]: The algorithm used to generate the private key

  • ssh_keys_generate_keys_command: [optional, default: _ssh_keys_generate_keys_command]:

  • ssh_keys_generate_keys_become: [optional, default: false]: Whether or not to use sudo when generating ssh keys (locally)

  • ssh_keys_private_keys: [default: []]: Private key declarations

  • ssh_keys_private_keys.{n}.owner: [required]: The name of the user that should own the file

  • ssh_keys_private_keys.{n}.group: [default: owner]: The name of the group that should own the file

  • ssh_keys_private_keys.{n}.mode: [default: 0600]: The UNIX permission mode bits of the file

  • ssh_keys_private_keys.{n}.src: [required]: The local path of the key

  • ssh_keys_private_keys.{n}.dest: [default: id_rsa]: The remote path of the key (relative to home/.ssh/)

  • ssh_keys_private_keys.{n}.dest_absolute: [optional]: The remote path of the key

  • ssh_keys_private_keys.{n}.dest_managed: [default: true]: Whether or not the remote path of the key should be created

  • ssh_keys_private_keys.{n}.state: [default: present]: State

  • ssh_keys_public_keys: [default: []]: Public key declarations

  • ssh_keys_public_keys.{n}.owner: [required]: The name of the user that should own the file

  • ssh_keys_public_keys.{n}.group: [default: owner]: The name of the group that should own the file

  • ssh_keys_public_keys.{n}.mode: [default: 0644]: The UNIX permission mode bits of the file

  • ssh_keys_public_keys.{n}.src: [required]: The local path of the key

  • ssh_keys_public_keys.{n}.dest: [default: id_rsa.pub]: The remote path of the key (relative to home/.ssh/)

  • ssh_keys_public_keys.{n}.dest_absolute: [optional]: The remote path of the key

  • ssh_keys_public_keys.{n}.dest_managed: [default: true]: Whether or not the remote path of the key should be created

  • ssh_keys_public_keys.{n}.state: [default: present]: State

  • ssh_keys_authorized_keys: [default: []]: Authorized key declarations

  • ssh_keys_authorized_keys.{n}.owner: [required]: The name of the user that should own the file

  • ssh_keys_authorized_keys.{n}.src: [required]: The local path of the key

  • ssh_keys_authorized_keys.{n}.state: [optional, default: present]: State

  • ssh_keys_authorized_keys.{n}.path: [optional, default: authorized_keys]: Authorized keys file (absolute path, default to ~/.ssh/authorized_keys)

  • ssh_keys_known_hosts: [default: []]: Known hosts declarations

  • ssh_keys_known_hosts.{n}.hostname: [required]: The hostname

  • ssh_keys_known_hosts.{n}.enctype: [required]: The type of the fingerprint

  • ssh_keys_known_hosts.{n}.fingerprint: [required]: The actual fingerprint

Dependencies

None

Example

---
- hosts: all
  roles:
  - ssh-keys
  vars:
    ssh_keys_generate_keys:
      - path: ../../../files/ssh-keys/id_rsa
        comment: RSA key
    ssh_keys_private_keys:
      - owner: root
        src: ../../../files/ssh-keys/id_rsa
    ssh_keys_public_keys:
      - owner: root
        src: ../../../files/ssh-keys/id_rsa.pub
    ssh_keys_authorized_keys:
      - owner: root
        src: ../../../files/ssh-keys/id_rsa.pub
    ssh_keys_known_hosts:
      - hostname: github.com
        enctype: ssh-rsa
        fingerprint: 'AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=='

License

MIT

Author Information

  • Mark van Driel
  • Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].