User Tools

Site Tools


ssh

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ssh [2026/01/28 00:45] – Add title asbssh [2026/02/10 02:25] (current) – use proper dokuwiki monospace 1e1001
Line 2: Line 2:
  
  
-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.+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.shon the SD card should work, 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.+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> <code bash>
 #!/bin/sh #!/bin/sh
Line 10: Line 10:
 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
ssh.1769561151.txt.gz · Last modified: by asb