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 UTC (4 months ago)] – created hyphassh [2026-04-11 00:17 UTC (7 weeks ago)] (current) – Clarify disk format bettse
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>
  
 +Format USB Dongle MS-DOS (FAT), not ExFat
ssh.1768508147.txt.gz · Last modified: by hypha