Skip to content

Commit 31f69b3

Browse files
authored
Add description to sshkey_persistence
- Also make options headers to be more consistent with module options
1 parent 6644117 commit 31f69b3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

documentation/modules/post/linux/manage/sshkey_persistence.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
This module will add an SSH key to a specified user (or all), to allow remote login on the victim via SSH at any time.
2+
13
### Creating A Testing Environment
24

35
This module has been tested against:
@@ -22,15 +24,15 @@
2224

2325
## Options
2426

25-
**sshd_config**
27+
**SSHD_CONFIG**
2628

2729
Location of the sshd_config file on the remote system. We use this to determine if the authorized_keys file location has changed on the system. If it hasn't, we default to .ssh/authorized_keys
2830

29-
**username**
31+
**USERNAME**
3032

3133
If set, we only write our key to this user. If not, we'll write to all users
3234

33-
**PubKey**
35+
**PUBKEY**
3436

3537
A public key to use. If not provided, a pub/priv key pair is generated automatically
3638

0 commit comments

Comments
 (0)