1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs/man/man3/ansible.authorized_key.3

41 lines
No EOL
1.4 KiB
Groff

.TH ANSIBLE.AUTHORIZED_KEY 5 "2012-10-02" "0.8" "ANSIBLE MODULES"
." generated from library/authorized_key
.SH NAME
authorized_key \- Adds or removes an SSH authorized key
." ------ DESCRIPTION
.SH DESCRIPTION
.PP
Adds or removes an SSH authorized key for a user from a remote host.
." ------ OPTIONS
."
."
.SH OPTIONS
.IP state
whether the given key should or should not be in the file
.IR Choices :
present,absent. (default: present)
.IP user
Name of the user who should have access to the remote host(required)
.IP key
the SSH public key, as a string(required)."
."
." ------ NOTES
."
."
." ------ EXAMPLES
.SH EXAMPLES
.PP
.nf
authorized_key user=charlie key="ssh-dss ASDF1234L+8BTwaRYr/rycsBF1D8e5pTxEsXHQs4iq+mZdyWqlW++L6pMiam1A8yweP+rKtgjK2httVS6GigVsuWWfOd7/sdWippefq74nppVUELHPKkaIOjJNN1zUHFoL/YMwAAAEBALnAsQN10TNGsRDe5arBsW8cTOjqLyYBcIqgPYTZW8zENErFxt7ij3fW3Jh/sCpnmy8rkS7FyK8ULX0PEy/2yDx8/5rXgMIICbRH/XaBy9Ud5bRBFVkEDu/r+rXP33wFPHjWjwvHAtfci1NRBAudQI/98DbcGQw5HmE89CjgZRo5ktkC5yu/8agEPocVjdHyZr7PaHfxZGUDGKtGRL2QzRYukCmWo1cZbMBHcI5FzImvTHS9/8B3SATjXMPgbfBuEeBwuBK5EjL+CtHY5bWs9kmYjmeo0KfUMH8hY4MAXDoKhQ7DhBPIrcjS5jPtoGxIREZjba67r6/P2XKXaCZH6Fc= charlie@example.org 2011-01-17"
.fi
.PP
.nf
authorized_key user=charlie key=$FILE(/home/charlie/.ssh/id_rsa.pub)
.fi
." ------- AUTHOR
.SH AUTHOR
Brad Olson
.SH SEE ALSO
.IR ansible (1),
.I http://ansible.github.com/modules.html#authorized-key