| Both sides previous revision Previous revision Next revision | Previous revision |
| access_the_batocera_via_ssh [2023/09/05 06:38] – Improvements: Change command to show current public key. grandmabetty | access_the_batocera_via_ssh [2025/07/26 14:30] (current) – Note for SSH on non-Linux partitions lbrpdx |
|---|
| |
| Batocera can remember the SSH client's key such that it no longer requires a password to type in. | Batocera can remember the SSH client's key such that it no longer requires a password to type in. |
| | |
| | <WRAP center round important> |
| | This section assumes that your Batocera user data partition is |
| | formatted Linux-native (ext4 by default, or btrfs). The //chmod// commands below won’t be applied correctly on FAT32 or NTFS partitions, and as a result passwordless SSH will fail.</WRAP> |
| |
| - On Batocera, run the following in terminal: <code bash> | - On Batocera, run the following in terminal: <code bash> |
| * ''htop'' : basic task manager. | * ''htop'' : basic task manager. |
| * ''pidof'' : gives a list of processes identifyiers (PID) for a running process name [**P**rocess **ID**entification **OF**], for example ''pidof retroarch'' returns a number when a retroarch-based emulator is running. | * ''pidof'' : gives a list of processes identifyiers (PID) for a running process name [**P**rocess **ID**entification **OF**], for example ''pidof retroarch'' returns a number when a retroarch-based emulator is running. |
| * ''kill [PID]'' : kills a process with a given PID, for example if ''pidof retroarch'' returned 640, then running ''kill 640'' would terminate the ''retroarch'' process. | * ''kill [PID]'' : kills a process with a given PID, for example if ''pidof retroarch'' returned 640, then running ''kill 640'' would terminate the ''retroarch'' process. This command can also to be used to check if a process is alive with the ''-0'' flag. eg.''kill -0 640'' (FIXME what does this output?) |
| | * ''pgrep'' : Works like the Unix ''grep'' command but instead of text and strings it works with processes. For example, ''pgrep emul*'' will obtain all PIDs of processes containing the string **emul**, such as ''emulationstation'' and its wrapper script. |
| | * ''which'' : it is used to find the location of the executable file associated with the command. eg. ''which python'' shows the path of python binary. |
| |
| --> How to install btop on Batocera v33 and earlier# | --> How to install btop on Batocera v33 and earlier# |
| --version Shows current version of BATOCERA running | --version Shows current version of BATOCERA running |
| --update Shows possible update for your install | --update Shows possible update for your install |
| default: stable, you can type --update beta | default: stable, you can type --update butterfly |
| |
| --overlay will try to backup your overlay file | --overlay will try to backup your overlay file |
| Overclocking your hardware could cause irreversible damage and/or erratic behavior, this is at your own risk. If any issues occur after setting this, this should be the first thing to be returned to default. | Overclocking your hardware could cause irreversible damage and/or erratic behavior, this is at your own risk. If any issues occur after setting this, this should be the first thing to be returned to default. |
| </WRAP> | </WRAP> |
| * ''batocera sync list'' : list storage devices that are capable of being synced to | * ''batocera-sync list'' : list storage devices that are capable of being synced to |
| * ''batocera sync <storage UID>'' : uses rsync to sync the current userdata to the ''batocera/'' folder on the selected storage device (NTFS not supported, FAT systems don't support syncing Bluetooth settings) | * ''batocera-sync <storage UID>'' : uses rsync to sync the current userdata to the ''batocera/'' folder on the selected storage device (NTFS not supported, FAT systems don't support syncing Bluetooth settings) |
| * ''batocera-timezone get'' : show the current configured timezone | * ''batocera-timezone get'' : show the current configured timezone |
| * ''batocera-timezone detect'' : attempt to automatically guess your timezone | * ''batocera-timezone detect'' : attempt to automatically guess your timezone |