mirror of
https://github.com/fire1ce/UDM-Persistent-SSH-Keys.git
synced 2023-10-10 13:36:54 +02:00
init
This commit is contained in:
parent
bc8076f633
commit
983cd53cd1
10
README.md
10
README.md
@ -14,13 +14,13 @@ This can be accomplished with a boot script. Flow this guide: [UDM / UDMPro Boot
|
|||||||
|
|
||||||
The script was tested on UDM PRO
|
The script was tested on UDM PRO
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
curl https://raw.githubusercontent.com/fire1ce/UDM-Persistent-SSH-Keys/main/install.sh | sh
|
curl https://raw.githubusercontent.com/fire1ce/UDM-Persistent-SSH-Keys/main/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Add you public RSA keys to:
|
Add you public RSA keys to:
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
/mnt/data/ssh/authorized_keys
|
/mnt/data/ssh/authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -28,13 +28,13 @@ Add you public RSA keys to:
|
|||||||
|
|
||||||
Delete the 99-ssh-keys.sh file
|
Delete the 99-ssh-keys.sh file
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
rm -rf /mnt/data/on_boot.d/99-ssh-keys.sh
|
rm -rf /mnt/data/on_boot.d/99-ssh-keys.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Delete your authorized_keys file
|
Delete your authorized_keys file
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
rm -rf /mnt/data/ssh/authorized_keys
|
rm -rf /mnt/data/ssh/authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -44,6 +44,6 @@ At boot the script with read the **/mnt/data/ssh/authorized_keys** file and add
|
|||||||
|
|
||||||
Manual run:
|
Manual run:
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
/mnt/data/on_boot.d/99-ssh-keys.sh
|
/mnt/data/on_boot.d/99-ssh-keys.sh
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user