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/15 20:16] – nope 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. 
  
-''#!/bin/sh+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, 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
  
 mount -o remount,rw / mount -o remount,rw /
Line 19: Line 22:
  
 mount -o remount,ro / mount -o remount,ro /
-''+</code>
  
  
ssh.1768508216.txt.gz · Last modified: by hypha