User Tools

Site Tools


ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ssh [2026/01/15 20:15] – created hyphassh [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 /etc/ssh/sshd_config to point to your keys.+====== SSH ======
  
-Placing something like the following in `/autorun/95-enable-ssh.sh` on the SD card should work, making sure to modify the `echo "your keys"` line. 
  
-```+You can get root ssh on the device relatively easily by remounting the filesystem read-write and modifying ''/etc/ssh/sshd_config'' to point to your keys. 
 + 
 +Placing something like the following in ''/autorun/95-enable-ssh.sh'' on the SD card should work (or in ''/autorun.sh'' on the PROXdongl3 USB drive), making sure to modify the ''echo "your keys"'' line. This script overwrites ''/etc/sshd_config'', so if you care about keeping the old configuration for posterity/hacking purposes you should back it up separately. 
 +<code bash>
 #!/bin/sh #!/bin/sh
  
 mount -o remount,rw / mount -o remount,rw /
  
 +echo 'Enabling SSH!'
 echo "Port 22" > /etc/ssh/sshd_config echo "Port 22" > /etc/ssh/sshd_config
 echo "PermitRootLogin yes" >> /etc/ssh/sshd_config echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
Line 20: Line 23:
  
 mount -o remount,ro / mount -o remount,ro /
-```+</code> 
  
ssh.1768508147.txt.gz · Last modified: by hypha