backup: 2026-03-24 18:08
This commit is contained in:
@@ -6,7 +6,7 @@ args = ["-l", "-c", "tmux new-session -A -s main"]
|
|||||||
[window]
|
[window]
|
||||||
decorations = "None" # без рамок и заголовка
|
decorations = "None" # без рамок и заголовка
|
||||||
startup_mode = "Maximized" # просто растянутое окно
|
startup_mode = "Maximized" # просто растянутое окно
|
||||||
opacity = 0.80
|
opacity = 0.90
|
||||||
padding = { x = 10, y = 5 }
|
padding = { x = 10, y = 5 }
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
# sshd_config.d/99-hardening.conf
|
|
||||||
# Консервативное ужесточение для серверов общего назначения (Debian).
|
|
||||||
|
|
||||||
Protocol 2
|
|
||||||
# Разрешить только протокол SSH v2.
|
|
||||||
|
|
||||||
# Authentication
|
|
||||||
PermitRootLogin no
|
|
||||||
# Запретить прямой вход под root.
|
|
||||||
PasswordAuthentication no
|
|
||||||
# Отключить вход по паролю.
|
|
||||||
KbdInteractiveAuthentication no
|
|
||||||
# Отключить keyboard-interactive (часто это OTP/пароль).
|
|
||||||
ChallengeResponseAuthentication no
|
|
||||||
# Отключить challenge-response аутентификацию.
|
|
||||||
AuthenticationMethods publickey
|
|
||||||
# Требовать аутентификацию по ключу.
|
|
||||||
PubkeyAuthentication yes
|
|
||||||
# Разрешить аутентификацию по ключу.
|
|
||||||
PermitEmptyPasswords no
|
|
||||||
# Запретить пустые пароли, даже если пароли где-то включены.
|
|
||||||
UsePAM yes
|
|
||||||
# Оставить PAM для управления аккаунтом и сессией.
|
|
||||||
|
|
||||||
# Session and access controls
|
|
||||||
LoginGraceTime 30
|
|
||||||
# Дать 30 секунд на аутентификацию.
|
|
||||||
MaxAuthTries 3
|
|
||||||
# Ограничить число неудачных попыток на соединение.
|
|
||||||
MaxSessions 2
|
|
||||||
# Ограничить число сессий в одном соединении.
|
|
||||||
MaxStartups 10:30:60
|
|
||||||
# Дросселировать неаутентифицированные подключения под нагрузкой.
|
|
||||||
ClientAliveInterval 300
|
|
||||||
# Отправлять keepalive каждые 5 минут.
|
|
||||||
ClientAliveCountMax 2
|
|
||||||
# Рвать соединение после 2 пропущенных keepalive.
|
|
||||||
TCPKeepAlive no
|
|
||||||
# Отключить TCP keepalive, чтобы не зависали старые сессии.
|
|
||||||
|
|
||||||
# Reduce legacy or risky features
|
|
||||||
IgnoreRhosts yes
|
|
||||||
# Игнорировать доверенные файлы .rhosts и .shosts.
|
|
||||||
HostbasedAuthentication no
|
|
||||||
# Отключить аутентификацию по хосту.
|
|
||||||
PermitUserEnvironment no
|
|
||||||
# Запретить пользователям задавать окружение через ~/.ssh/environment.
|
|
||||||
X11Forwarding no
|
|
||||||
# Отключить X11-форвардинг.
|
|
||||||
AllowAgentForwarding no
|
|
||||||
# Запретить форвардинг агента.
|
|
||||||
AllowTcpForwarding local
|
|
||||||
# Разрешить только локальный форвардинг портов (без remote/dynamic).
|
|
||||||
AllowStreamLocalForwarding no
|
|
||||||
# Отключить форвардинг Unix-сокетов.
|
|
||||||
PermitTunnel no
|
|
||||||
# Отключить форвардинг туннелей tun/tap.
|
|
||||||
|
|
||||||
# Misc
|
|
||||||
UseDNS no
|
|
||||||
# Пропустить обратный DNS для ускорения входа.
|
|
||||||
Compression no
|
|
||||||
# Отключить сжатие, чтобы уменьшить поверхность атаки.
|
|
||||||
PrintMotd no
|
|
||||||
# Не печатать MOTD (обычно делает PAM).
|
|
||||||
@@ -29,7 +29,7 @@ projects:
|
|||||||
|
|
||||||
# Локальное зеркало projects
|
# Локальное зеркало projects
|
||||||
projects-local:
|
projects-local:
|
||||||
repository: "rclone:home-file:files/System/Backups/ada-x1/Documents/Projects"
|
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Projects"
|
||||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||||
backup:
|
backup:
|
||||||
source:
|
source:
|
||||||
@@ -59,7 +59,7 @@ vaults:
|
|||||||
|
|
||||||
# Локальное зеркало vaults
|
# Локальное зеркало vaults
|
||||||
vaults-local:
|
vaults-local:
|
||||||
repository: "rclone:home-file:files/System/Backups/ada-x1/Documents/Vaults"
|
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Vaults"
|
||||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||||
backup:
|
backup:
|
||||||
source:
|
source:
|
||||||
@@ -84,7 +84,7 @@ files:
|
|||||||
|
|
||||||
# Локальное зеркало files
|
# Локальное зеркало files
|
||||||
files-local:
|
files-local:
|
||||||
repository: "rclone:home-file:files/System/Backups/ada-x1/Documents/Files"
|
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Files"
|
||||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||||
backup:
|
backup:
|
||||||
source:
|
source:
|
||||||
@@ -110,7 +110,7 @@ pictures:
|
|||||||
|
|
||||||
# Локальное зеркало pictures
|
# Локальное зеркало pictures
|
||||||
pictures-local:
|
pictures-local:
|
||||||
repository: "rclone:home-file:files/System/Backups/ada-x1/Pictures"
|
repository: "rclone:home-smb:backup/backups/ada-x1/Pictures"
|
||||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||||
backup:
|
backup:
|
||||||
source:
|
source:
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Host vps vps-ada
|
|||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
||||||
|
|
||||||
# ZimaOS
|
|
||||||
Host casa casaos casa-vm
|
Host casa casaos casa-vm
|
||||||
HostName 100.87.138.76
|
HostName 100.87.138.76
|
||||||
User ada
|
User ada
|
||||||
@@ -20,6 +19,13 @@ Host pve
|
|||||||
SetEnv TERM=xterm-256color
|
SetEnv TERM=xterm-256color
|
||||||
ProxyJump vps
|
ProxyJump vps
|
||||||
|
|
||||||
|
Host openclaw
|
||||||
|
Hostname 192.168.1.20
|
||||||
|
User openclaw
|
||||||
|
IdentityFile ~/.ssh/keys/adax1.pub
|
||||||
|
SetEnv TERM=xterm-256color
|
||||||
|
ProxyJump pve
|
||||||
|
|
||||||
Host git.ada-dev.ru
|
Host git.ada-dev.ru
|
||||||
HostName 100.87.138.76
|
HostName 100.87.138.76
|
||||||
Port 222
|
Port 222
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
Host ru-vps
|
Host ru-vps
|
||||||
HostName 157.22.231.198
|
HostName 157.22.231.198
|
||||||
|
Port 3422
|
||||||
User ada
|
User ada
|
||||||
ServerAliveInterval 30
|
ServerAliveInterval 30
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
// Zed settings
|
|
||||||
//
|
|
||||||
// For information on how to configure Zed, see the Zed
|
|
||||||
// documentation: https://zed.dev/docs/configuring-zed
|
|
||||||
//
|
|
||||||
// To see all of Zed's default settings without changing your
|
|
||||||
// custom settings, run `zed: open default settings` from the
|
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
|
||||||
{
|
{
|
||||||
"base_keymap": "VSCode",
|
"base_keymap": "VSCode",
|
||||||
"use_smartcase_search": true,
|
"use_smartcase_search": true,
|
||||||
@@ -146,7 +138,8 @@
|
|||||||
},
|
},
|
||||||
"ui_font_size": 16.0,
|
"ui_font_size": 16.0,
|
||||||
"buffer_font_size": 14.0,
|
"buffer_font_size": 14.0,
|
||||||
"proxy": "http://127.0.0.1:8118",
|
// "proxy": "http://127.0.0.1:8118",
|
||||||
|
"proxy": "socks5://ada:%3FHolivarr588856@157.22.231.198:1081",
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "system",
|
"mode": "system",
|
||||||
"light": "Ayu Light",
|
"light": "Ayu Light",
|
||||||
|
|||||||
@@ -172,3 +172,5 @@ alias lidoff='sudo systemctl unmask sleep.target suspend.target hibernate.target
|
|||||||
alias sshvpn='sshuttle --dns -r fl-vps 0/0 -X ~/.dotfiles/configs/.exclude-ip.txt'
|
alias sshvpn='sshuttle --dns -r fl-vps 0/0 -X ~/.dotfiles/configs/.exclude-ip.txt'
|
||||||
|
|
||||||
alias sshp-fg='ssh -D 127.0.0.1:1080 fl-vps -v sleep 9999'
|
alias sshp-fg='ssh -D 127.0.0.1:1080 fl-vps -v sleep 9999'
|
||||||
|
|
||||||
|
alias gbackup='git add . && git commit -m "backup: $(date +"%Y-%m-%d %H:%M")" && git push'
|
||||||
|
|||||||
Reference in New Issue
Block a user