Skip to content

Commit

Permalink
docs: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
neomn committed Jan 2, 2024
1 parent ed654f4 commit 40f7331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup_ssh/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inventory
3 changes: 3 additions & 0 deletions setup_ssh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ you can setup ssh connection for any number of servers in seconds
123.45.678.5 ansible_user=root ansible_pass=server-password ansible_port=22

2- open /files/authorized_keys file and add your ssh public key

3- done, now you can use the role, you can also modify ssh service configs in /templates/sshd_config.js file



## how to run the role:
1- outside of the setup_ssh directory, create a yml file:

touch ssh.yml

so the directory structure should be like this:

├── setup_ssh
Expand Down

0 comments on commit 40f7331

Please sign in to comment.