Ip_ban Datei finden

Hey Leute,

ich habe bei HA das cloudflared Plugin und einen tunnel und ich Depp hab bei dem ip ban eingegeben dass man nur einen Versuch hat und jtz komm ich nicht mehr rein… Weiß jemand vielleicht ob ich die Datei irgendwie finde wenn ich über ssh in die VM gehe? (Mein HA läuft auf proxmox)

Die Datei schifft sich ip_bans.yaml und liegt im config Ordner.
Also im gleichen Ordner wie auch die configuration.yaml

Gruß
Osorkon

Weißt du zufällig den kompletten Dateipfad von root aus?

Moin,

wie gehst du auf, in dein HA?

Nutzt Du das Advanced ssh & Web Terminal?
Dann kannst Du doch einfach mal ein pwd machen, der zeigt dir wo Du gerade stehst

  Observer URL:             http://homeassistant.local:4357
➜  ~ pwd                  
/root
➜  ~ 

Dann ein ls -la

➜  ~ ls -la           
total 168
drwxr-xr-x    1 root     root          4096 Sep 15 20:41 .
drwxr-xr-x    1 root     root          4096 Sep 13 13:12 ..
lrwxrwxrwx    1 root     root            16 Sep 13 13:12 .gitconfig -> /data/.gitconfig
drwxr-xr-x    1 root     root          4096 Sep 10 13:41 .oh-my-zsh
lrwxrwxrwx    1 root     root            10 Sep 13 13:12 .ssh -> /data/.ssh
-rw-r--r--    1 root     root          1013 Sep 10 13:41 .tmux.conf
lrwxrwxrwx    1 root     root            20 Sep 13 13:12 .vscode-server -> /data/.vscode-server
-rw-r--r--    1 root     root         36784 Sep 15 19:17 .zcompdump-a0d7b954-ssh-5.9
-r--r--r--    1 root     root         84168 Sep 15 19:17 .zcompdump-a0d7b954-ssh-5.9.zwc
-rw-------    1 root     root         18548 Sep 15 20:41 .zsh_history
-rwxr-xr-x    1 root     root          3182 Sep 10 13:41 .zshrc
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 addon_configs -> /addon_configs
lrwxrwxrwx    1 root     root             7 Sep 13 13:12 addons -> /addons
lrwxrwxrwx    1 root     root             7 Sep 13 13:12 backup -> /backup
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 config -> /homeassistant
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 homeassistant -> /homeassistant
lrwxrwxrwx    1 root     root             6 Sep 13 13:12 media -> /media
lrwxrwxrwx    1 root     root             6 Sep 13 13:12 share -> /share
lrwxrwxrwx    1 root     root             4 Sep 13 13:12 ssl -> /ssl

dann sieht man das config, bei mir aktuell auf dieser Ebene liegt
Mit cd config ins verzeichnis wechseln

➜  ~ ls -la           
total 168
drwxr-xr-x    1 root     root          4096 Sep 15 20:41 .
drwxr-xr-x    1 root     root          4096 Sep 13 13:12 ..
lrwxrwxrwx    1 root     root            16 Sep 13 13:12 .gitconfig -> /data/.gitconfig
drwxr-xr-x    1 root     root          4096 Sep 10 13:41 .oh-my-zsh
lrwxrwxrwx    1 root     root            10 Sep 13 13:12 .ssh -> /data/.ssh
-rw-r--r--    1 root     root          1013 Sep 10 13:41 .tmux.conf
lrwxrwxrwx    1 root     root            20 Sep 13 13:12 .vscode-server -> /data/.vscode-server
-rw-r--r--    1 root     root         36784 Sep 15 19:17 .zcompdump-a0d7b954-ssh-5.9
-r--r--r--    1 root     root         84168 Sep 15 19:17 .zcompdump-a0d7b954-ssh-5.9.zwc
-rw-------    1 root     root         18548 Sep 15 20:41 .zsh_history
-rwxr-xr-x    1 root     root          3182 Sep 10 13:41 .zshrc
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 addon_configs -> /addon_configs
lrwxrwxrwx    1 root     root             7 Sep 13 13:12 addons -> /addons
lrwxrwxrwx    1 root     root             7 Sep 13 13:12 backup -> /backup
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 config -> /homeassistant
lrwxrwxrwx    1 root     root            14 Sep 13 13:12 homeassistant -> /homeassistant
lrwxrwxrwx    1 root     root             6 Sep 13 13:12 media -> /media
lrwxrwxrwx    1 root     root             6 Sep 13 13:12 share -> /share
lrwxrwxrwx    1 root     root             4 Sep 13 13:12 ssl -> /ssl

Oder wenn du den File Editor oder VSC als Add-on installiert hast, dann kommst Du auch dran.


Ich habe keine ip_ban.yaml :slight_smile:

Von der VM Konsole kenne ich es nicht, dass man an diese Daten so ohne weiteres herankommt.

VG
Bernd