Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

MVladislav/ansible-ssh

Open more actions menu

Repository files navigation

SSH

Important

Project is Archive and moved into https://github.com/MVladislav/ansible-security


Ansible Lint Ansible Molecule Test


You can checkout MVladislav - ansible-env-setup - playbooks for how i use it in general.

Tested with:

  • Ubuntu 23.04

Role Variables

clients:
  - name: "{{ ansible_user }}"

ssh_only_client_setup: false

Dependencies

Developed and testes with Ansible 2.14.4

Example Playbook

- hosts: servers
  roles:
    - role: ansible-ssh
      clients:
        - name: "{{ ansible_user }}"
      ssh_only_client_setup: false

License

MIT

OTHER

deprecation remove

sed -i '/KeyRegenerationInterval/d' /etc/ssh/sshd_config
sed -i '/ServerKeyBits/d' /etc/ssh/sshd_config
sed -i '/RSAAuthentication/d' /etc/ssh/sshd_config
sed -i '/RhostsRSAAuthentication/d' /etc/ssh/sshd_config
sed -i '/UsePrivilegeSeparation/d' /etc/ssh/sshd_config

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.