Skip to content

MaheshHT/ssh_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssh_automation

In this automation, we are assuming, Server has group which contains many users like mahesh. WE can control user accounts by adding or removing users into this server group.

The complete creation of server group, mahesh user creation and modify /etc/ssh/sshd_config file as per our requirement.

I was just denying access to "server" group, similarly if we want , we can provide access to server group by adding "Allowgroups server" in /etc/ssh/sshd_config file

Once you run below command on Ansible control server will handle ssh access "ansible-playbook -i inventory ssh_access.yml --ask-sudo-pass"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages