"Updates"

This commit is contained in:
2025-11-15 15:05:55 +01:00
parent 30a8054f08
commit 9ba50a608c
3 changed files with 159 additions and 156 deletions

View File

@@ -1,15 +1,60 @@
# Hosts
Hosts
===
## Hosts / IPs
```bash
sudo vim /etc/hosts
```
```bash
127.0.0.1 localhost
127.0.1.1 <host>.local <host>
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
#
192.168.1.11 bob
192.168.1.12 carlo
192.168.1.13 gary
192.168.1.14 sandy
192.168.1.15 krabs
192.168.1.16 sheldon
192.168.1.17 bernie
# 192.168.1.18 pearl
#
192.168.1.53 retropie
```
### SSH
#### On remote (PC) :
```bash
ssh-keygen -t ed25519
ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@192.168.1.xxx
ssh-copy-id -f -i ~/.ssh/id_ed25519.pub pleb@<hostname>
```
===
### Map
```markdown
. bikiniBottom
├── bob (192.168.1.11) # caddy
├── carlo (192.168.1.12)
├── carlo (192.168.1.12) # stream
├── turing-pi (192.168.1.10)
| ├── gary (192.168.1.13)
| ├── sandy (192.168.1.14)
| ├── sheldon (192.168.1.16) # En attente
| ├── sheldon (192.168.1.16)
| └── pearl (192.168.1.18) # En attente
├── krabs (192.168.1.15) # nfs server
├── bernie (192.168.1.17) # octoprint