ssh
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ssh [2026/01/15 20:15] – created hypha | ssh [2026/02/10 02:25] (current) – use proper dokuwiki monospace 1e1001 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | You can get root ssh on the device relatively easily by remounting the filesystem read-write and modifying / | + | ====== SSH ====== |
| - | Placing something like the following in `/ | ||
| - | ``` | + | You can get root ssh on the device relatively easily by remounting the filesystem read-write and modifying ''/ |
| + | |||
| + | Placing something like the following in ''/ | ||
| + | <code bash> | ||
| #!/bin/sh | #!/bin/sh | ||
| mount -o remount,rw / | mount -o remount,rw / | ||
| + | echo ' | ||
| echo "Port 22" > / | echo "Port 22" > / | ||
| echo " | echo " | ||
| Line 20: | Line 23: | ||
| mount -o remount,ro / | mount -o remount,ro / | ||
| - | ``` | + | </ |
ssh.1768508147.txt.gz · Last modified: by hypha
