mirror of
https://github.com/fire1ce/UDM-Persistent-SSH-Keys.git
synced 2023-10-10 13:36:54 +02:00
update from bash to sh fo install
This commit is contained in:
parent
c4442d9856
commit
280d7dad46
12
README.md
12
README.md
@ -2,20 +2,24 @@
|
|||||||
|
|
||||||
## Persistence on Reboot
|
## Persistence on Reboot
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
This script need to run every time the system is rebooted since the __/root/.ssh/authorized_keys__ overwrites every boot.
|
This script need to run every time the system is rebooted since the __/root/.ssh/authorized_keys__ overwrites every boot.
|
||||||
|
=======
|
||||||
|
This script need to run every time the system is rebooted since the **/root/.ssh/authorized_keys** overwrites every boot.
|
||||||
|
>>>>>>> ee5db53 (update from bash to sh fo install)
|
||||||
This can be accomplished with a boot script. Flow this guide: [UDM / UDMPro Boot Script](https://github.com/boostchicken-dev/udm-utilities/tree/master/on-boot-script)
|
This can be accomplished with a boot script. Flow this guide: [UDM / UDMPro Boot Script](https://github.com/boostchicken-dev/udm-utilities/tree/master/on-boot-script)
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
* Tested on UDM PRO
|
- Tested on UDM PRO
|
||||||
* UDM Pro doesn't support __ed25519__ SSH Keys
|
- UDM Pro doesn't support **ed25519** SSH Keys
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The script was tested on UDM PRO
|
The script was tested on UDM PRO
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://raw.githubusercontent.com/fire1ce/UDMP-Persistence-SSH-Keys/main/install.sh | bash
|
curl https://raw.githubusercontent.com/fire1ce/UDMP-Persistence-SSH-Keys/main/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Add you public RSA keys to:
|
Add you public RSA keys to:
|
||||||
@ -40,7 +44,7 @@ rm -rf /mnt/data/ssh/authorized_keys
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
At boot the script with read the __/mnt/data/ssh/authorized_keys__ file and add the content to UDM's __/root/.ssh/authorized_keys__
|
At boot the script with read the **/mnt/data/ssh/authorized_keys** file and add the content to UDM's **/root/.ssh/authorized_keys**
|
||||||
|
|
||||||
Manual run:
|
Manual run:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user