ssh, photoprism
This commit is contained in:
parent
50b854fd34
commit
a843fb6d3e
@ -31,3 +31,9 @@ PhotoPrism is a self-hosted photo management platform designed to organize, brow
|
||||
| photoprism auth show [identifier] | Shows detailed information about a session |
|
||||
| photoprism auth rm [identifier] | Deletes a session by id or access token |
|
||||
| photoprism auth reset --yes | Resets the authentication of all users and clients |
|
||||
|
||||
### Viewing Login Attempts
|
||||
|
||||
For security reasons, the authentication logs are not accessible from the web user interface. They can only be viewed in the application service logs or by running the following command in a terminal:
|
||||
|
||||
```docker compose exec photoprism photoprism audit logins [username]```
|
||||
|
||||
28
Server/Raspberry/README.md
Normal file
28
Server/Raspberry/README.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Raspberry Pi
|
||||
|
||||
## Setup static ip
|
||||
|
||||
- Edit configuration file `sudoedit /etc/dhcpcd.conf`
|
||||
- Fill this in the file:
|
||||
```
|
||||
interface <your-network-interface>
|
||||
static ip_address=<desired-static-ip>/24
|
||||
static routers=<your-router-ip>
|
||||
static domain_name_servers=<your-dns-server-ip>
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Example configuration
|
||||
</summary>
|
||||
|
||||
```
|
||||
interface wlan0
|
||||
static ip_address=192.168.1.100/24
|
||||
static routers=192.168.1.1
|
||||
static domain_name_servers=192.168.1.1
|
||||
```
|
||||
</details>
|
||||
|
||||
- Reboot `sudo reboot`
|
||||
- Should use configured ip address now
|
||||
@ -2,11 +2,14 @@
|
||||
|
||||
## Installation and setup
|
||||
|
||||
- Start ssh service with `sudo service ssh start`
|
||||
- Install OpenSSH package (`sudo pacman -S openssh`) on client and server
|
||||
- On server, start ssh service with `sudo service enable sshd.service` and `sudo service start sshd.service`
|
||||
|
||||
- Configuration file for ssh server is at `/etc/ssh/sshd_config`
|
||||
- Configuration file for ssh client is at `/etc/ssh/ssh_config`
|
||||
|
||||
- More info at [archwiki](https://wiki.archlinux.org/title/OpenSSH)
|
||||
|
||||
## Authorization using keys
|
||||
|
||||
- Create a keys on your client using command `ssh-keygen -t ed25519 -C "comment"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user