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/01/28 00:45] (current) – Add title asb
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.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. 
 +<code bash>
 #!/bin/sh #!/bin/sh
  
Line 20: Line 22:
  
 mount -o remount,ro / mount -o remount,ro /
-```+</code> 
  
ssh.1768508147.txt.gz · Last modified: by hypha