From 9793312c78084f0e94f95c72a24a82d4cfca049d Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Tue, 8 Oct 2024 02:39:32 +0200 Subject: [PATCH] Split ssh config Signed-off-by: Tuan-Dat Tran --- config/.local/share/ranger/bookmarks | 2 +- config/.ssh/config | 253 +----------------------- vim/.config/nvim/lazy-lock.json | 68 +++---- vim/.config/nvim/lazyvim.json | 10 +- vim/.config/nvim/spell/en.utf-8.add | 11 ++ vim/.config/nvim/spell/en.utf-8.add.spl | Bin 2240 -> 2339 bytes zsh/.zshrc | 2 + 7 files changed, 62 insertions(+), 284 deletions(-) diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index 7ece60f..fe4f963 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -1,4 +1,4 @@ -':/home/tudattr/.genesis/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/03-demonstration_23-10-31/final/5g-iana-notes/5g-uulm-network-monitoring +':/home/tudattr/.ssh a:/home/tudattr/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte s:/home/tudattr/Pictures/Screenshots u:/home/tudattr/.genesis/Documents/Uni/Studium diff --git a/config/.ssh/config b/config/.ssh/config index aa9cb58..37f0267 100644 --- a/config/.ssh/config +++ b/config/.ssh/config @@ -1,249 +1,4 @@ -# Services -Host github.com gitlab.com git.uni-due.de git.ude-syssec.de - Port 22 - User git - IdentityFile /mnt/veracrypt1/git - -Host git.ude-syssec.de - Hostname git.ude-syssec.de - -Host github.com - Hostname github.com - -Host gitlab.com - Hostname gitlab.com - -Host git.uni-due.de - HostName git.uni-due.de - -Host git.tudattr.dev - Hostname 192.168.20.19 - Port 2222 - User git - IdentityFile /mnt/veracrypt1/git - ProxyJump mii - -# Homeserver -Host madrigal - HostName 192.168.70.1 - Port 2200 - User tudattr - IdentityFile /mnt/veracrypt1/mikrotik_rsa - -Host inko inko.mii - HostName 192.168.20.14 - User root - -Host naruto naruto.mii - HostName 192.168.20.13 - -Host pi pi.mii - HostName 192.168.20.11 - -Host aya01 aya01.mii - HostName 192.168.20.12 - User root - -Host docker-02 docker-02.mii - HostName 192.168.20.19 - -Host k3s-loadbalancer.aya01 k3s-loadbalancer - HostName 192.168.20.22 - ProxyJump aya01 - -Host k3s-server01.aya01 k3s-server01 - HostName 192.168.20.24 - ProxyJump aya01 - -Host k3s-server00.aya01 k3s-server00 - HostName 192.168.20.21 - ProxyJump aya01 - -Host k3s-agent00.aya01 k3s-agent00 - HostName 192.168.20.25 - ProxyJump aya01 - -Host k3s-agent01.aya01 k3s-agent01 - HostName 192.168.20.26 - ProxyJump aya01 - -Host k4s-agent02.aya01 k3s-agent02 - HostName 192.168.20.27 - ProxyJump aya01 - -Host k3s-postgres.aya01 k3s-postgres - HostName 192.168.20.23 - ProxyJump aya01 - -Host behemoth behemoth.pi - User tuan - HostName 192.168.30.174 - IdentityFile /mnt/veracrypt1/genesis - -Host behemoth.pi - ProxyJump pi - -Host mii - HostName tudattr.dev - -Host inko.mii pi.mii aya01.mii naruto.mii docker-02.mii - ProxyJump mii - -Host mii pi inko naruto inko.mii pi.mii naruto.mii aya01 aya01.mii docker-02 docker-02.mii k3s-server00.aya01 k3s-server00 k3s-loadbalancer.aya01 k3s-loadbalancer k3s-postgres.aya01 k3s-postgres k3s-server01.aya01 k3s-server01 k3s-agent00.aya01 k3s-agent00 k3s-agent01.aya01 k3s-agent01 k3s-agent02.aya01 k3s-agent02 - Port 22 - User tudattr - IdentityFile /mnt/veracrypt1/genesis - -# Work -Host mini - HostName 100.76.45.158 - Port 22 - User tudattr - IdentityFile /mnt/veracrypt1/genesis - -Host ncs-pi - HostName 100.103.158.102 - Port 22 - User tuant - IdentityFile /mnt/veracrypt1/work/minis - -Host ncs-head - HostName 132.252.68.50 - Port 2122 - User tuan-dat.tran - IdentityFile /mnt/veracrypt1/genesis - ProxyJump ncs-pi - -Host ncs-head-user - HostName 132.252.68.50 - Port 2122 - User user - IdentityFile /mnt/veracrypt1/tudattr - -Host ncs2 - HostName 192.168.1.13 - User tuan-dat.tran - -Host ncs2 ncs2-user ncs-node1 ncs-node2 ncs-node2-user ncs-node3 ncs-node4 ncs-node5 ncs-node6 ncs-node7 ncs-wedge - Port 22 - IdentityFile /mnt/veracrypt1/genesis - ProxyJump ncs-head - -Host ncs2-user - HostName 192.168.1.13 - User user # tuan-dat.tran - -Host ncs-node1 - HostName 192.168.1.11 - User user - -Host ncs-node2 - HostName 192.168.1.7 - User tuan-dat.tran - -Host ncs-node2-user - HostName 192.168.1.7 - User user - -Host ncs-node3 - Hostname 192.168.1.19 - User tuan-dat.tran - -Host ncs-node3-user - Hostname 192.168.1.19 - User user - IdentityFile /mnt/veracrypt1/tudattr - -Host ncs-node4 - HostName 192.168.1.9 - User tuan-dat.tran - -Host ncs-node4-user - HostName 192.168.1.9 - Port 22 - User user - IdentityFile /mnt/veracrypt1/tudattr - ProxyJump ncs-head - -Host ncs-node5 - HostName 192.168.1.15 - User tuan-dat.tran - -Host ncs-node6 - Hostname 192.168.1.17 - User tuan-dat.tran - -Host ncs-node6-user - Hostname 192.168.1.17 - Port 22 - User user - IdentityFile /mnt/veracrypt1/tudattr - ProxyJump ncs-head - -Host ncs-node7 - Hostname 192.168.1.18 - User tuan-dat.tran - -Host ncs-wedge - Hostname 192.168.1.5 - User user - -Host ncs-gpu - Hostname 192.168.1.21 - Port 22 - User tuan - IdentityFile /mnt/veracrypt1/tudattr - ProxyJump ncs-head - -Host ami - Hostname 3.72.156.214 - Port 22 - User ubuntu - IdentityFile /mnt/veracrypt1/work/aws-rizk.pem - -## 5g IANA -Host 5g-iana-mec 5g-iana-mec.naruto.mii - Hostname 192.168.100.1 - Port 22 - User udue - IdentityFile /mnt/veracrypt1/genesis - -Host uulm-obu0 uulm-obu1 uulm-obu0.naruto.mii uulm-obu0.naruto.mii - Port 22 - User user - IdentityFile /mnt/veracrypt1/genesis - -Host uulm-obu0 uulm-obu0.naruto.mii - Hostname 192.168.200.6 - -Host uulm-obu1 uulm-obu1.naruto.mii - Hostname 192.168.200.11 - -Host 5g-iana-mec.naruto.mii uulm-obu1.naruto.mii uulm-obu0.naruto.mii nxw.naruto.mii - ProxyJump naruto.mii - -Host nxw.naruto.mii nxw - User nxw - Hostname 192.168.100.4 - -Host uulm-obu0 uulm-obu1 - ProxyJump 5g-iana-mec - -Host uulm-obu0.naruto.mii uulm-obu0.naruto.mii - ProxyJump 5g-iana-mec.naruto.mii - -Host nextworks.naruto.mii - ProxyJump 5g-iana-mec.naruto.mii - -Host nextworks nextworks.naruto.mii - Hostname 192.168.100.4 - User nxw - -## Systems Security - -Host tuan-ethfuzz - HostName 132.252.68.42 - User tuan - IdentityFile /mnt/veracrypt1/genesis - Port 2207 - ForwardAgent yes +Include config_homelab +Include config_services +Include config_syssec +Include config_work diff --git a/vim/.config/nvim/lazy-lock.json b/vim/.config/nvim/lazy-lock.json index d319bd2..30df014 100644 --- a/vim/.config/nvim/lazy-lock.json +++ b/vim/.config/nvim/lazy-lock.json @@ -1,56 +1,58 @@ { - "LazyVim": { "branch": "main", "commit": "12818a6cb499456f4903c5d8e68af43753ebc869" }, - "SchemaStore.nvim": { "branch": "main", "commit": "c97985bbe5a0988767216f9b54a8e05d70ce8505" }, + "LazyVim": { "branch": "main", "commit": "d5a4ced75acadb6ae151c0d2960a531c691c88b9" }, + "SchemaStore.nvim": { "branch": "main", "commit": "08618c584e38933731a1ef210b323a7588403dd2" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, - "catppuccin": { "branch": "main", "commit": "4fd72a9ab64b393c2c22b168508fd244877fec96" }, + "catppuccin": { "branch": "main", "commit": "63685e1562ef53873c9764b483d7ac5c7a608922" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-git": { "branch": "main", "commit": "50d526dff0f6bc441b51fc269d9fdc99a50c76af" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "conform.nvim": { "branch": "master", "commit": "0ebe875d9c306f5fc829db38492ffff2a70d8e9d" }, - "crates.nvim": { "branch": "main", "commit": "b3b9ac6ed9618955b24bf9adede7530ef608495b" }, + "conform.nvim": { "branch": "master", "commit": "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" }, + "crates.nvim": { "branch": "main", "commit": "8bf8358ee326d5d8c11dcd7ac0bcc9ff97dbc785" }, "dashboard-nvim": { "branch": "master", "commit": "fabf5feec96185817c732d47d363f34034212685" }, - "dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" }, + "dial.nvim": { "branch": "master", "commit": "ed4d6a5bbd5e479b4c4a3019d148561a2e6c1490" }, "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, - "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, - "gitsigns.nvim": { "branch": "main", "commit": "899e993850084ea33d001ec229d237bc020c19ae" }, - "grug-far.nvim": { "branch": "main", "commit": "8058c2366f21af6f446d8e0f9333ae7c22f7679a" }, + "friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" }, + "fzf-lua": { "branch": "main", "commit": "ebb89e4e4065e31b029eee8f618e1ca660f41f35" }, + "gitsigns.nvim": { "branch": "main", "commit": "863903631e676b33e8be2acb17512fdc1b80b4fb" }, + "grug-far.nvim": { "branch": "main", "commit": "b7c2b28e49d55ff71cd9bb3ad19a2021316510d8" }, "indent-blankline.nvim": { "branch": "master", "commit": "18603eb949eba08300799f64027af11ef922283f" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, - "markdown.nvim": { "branch": "main", "commit": "2f9d4f0be8784ed4fef5960eb7b80bf60c5fdf56" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "482350b050bd413931c2cdd4857443c3da7d57cb" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, - "mini.ai": { "branch": "main", "commit": "a9b992b13d22a8db8df6beac25afa59a10b5584d" }, - "mini.icons": { "branch": "main", "commit": "12e7b5d47bfc1b4c5ba4278fb49ec9100138df14" }, - "mini.pairs": { "branch": "main", "commit": "927d19cbdd0e752ab1c7eed87072e71d2cd6ff51" }, - "mini.surround": { "branch": "main", "commit": "d8913ed23be0a1a4585ae34414821cc343a46174" }, - "neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" }, - "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, - "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, + "mini.ai": { "branch": "main", "commit": "9b9b7cfa38b4871c3e44cfe89cf6d53fd40684d9" }, + "mini.icons": { "branch": "main", "commit": "a2742459f0ee32806c2438ca06b4d8b331f3f4d4" }, + "mini.pairs": { "branch": "main", "commit": "919a89ed3c9f4142215a44c9fffca72fa8c8e792" }, + "mini.surround": { "branch": "main", "commit": "e1ac1ce5c7499aa4cc2ca9fb1adec9e730dd9394" }, + "neo-tree.nvim": { "branch": "main", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, + "noice.nvim": { "branch": "main", "commit": "86c3ab04eaddeed901a5495bc350a0235a2a11bc" }, + "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, + "nvim-ansible": { "branch": "main", "commit": "9c3b4a771b8c8d7b4f2171466464d978cb3846f7" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, - "nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" }, - "nvim-lspconfig": { "branch": "master", "commit": "0ef64599b8aa0187ee5f6d92cb39c951f348f041" }, - "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, + "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" }, + "nvim-lspconfig": { "branch": "master", "commit": "e6569c18c21be5166e4b9cc7530e828b8285c84e" }, + "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, - "nvim-treesitter": { "branch": "master", "commit": "a1573a9135c608e68cb383f752623527be84bdce" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, + "nvim-treesitter": { "branch": "master", "commit": "98a33cc524c85a78a1ff5a707998629b24cbf8c2" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "4a2d05ec24eaa6b655c7d19092a3b6c0219d46b9" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "onedark.vim": { "branch": "main", "commit": "390b893d361c356ac1b00778d849815f2aa44ae4" }, - "outline.nvim": { "branch": "main", "commit": "e2fc8d8e10205a65f13581504674f4d305c1abe8" }, + "outline.nvim": { "branch": "main", "commit": "6c44527837ff7ac1cd054dc365a721e881020a2e" }, "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, - "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, - "rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" }, - "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, - "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, - "todo-comments.nvim": { "branch": "main", "commit": "319c01b99b7a8c9ac2066bf0efd4d6ec68fef444" }, - "tokyonight.nvim": { "branch": "main", "commit": "4b386e66a9599057587c30538d5e6192e3d1c181" }, - "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, + "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, + "render-markdown.nvim": { "branch": "main", "commit": "e91b042b3865d2d040a0e21e0a3b13fb57f24094" }, + "rustaceanvim": { "branch": "master", "commit": "29f42cc149f915d771c550b6dfe7c788d856cf04" }, + "tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" }, + "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, + "tokyonight.nvim": { "branch": "main", "commit": "efd1417aa01af618426fe1cf507c5458090458f2" }, + "trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" }, "ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" }, "vim-ledger": { "branch": "master", "commit": "dbc683e24bd5338b8c12540227a58b2d247e097a" }, - "vimtex": { "branch": "master", "commit": "ec3b648af5092372ddd72404fb5db46b2f78beb5" }, - "which-key.nvim": { "branch": "main", "commit": "bfec3d6bc0a9b0b2cb11644642f78c2c3915eef0" }, + "vimtex": { "branch": "master", "commit": "be2c13c76eb4c72b2d036900aa17b4b8200ddfb5" }, + "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }, "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" } } diff --git a/vim/.config/nvim/lazyvim.json b/vim/.config/nvim/lazyvim.json index e57a2f6..4c01195 100644 --- a/vim/.config/nvim/lazyvim.json +++ b/vim/.config/nvim/lazyvim.json @@ -2,13 +2,21 @@ "extras": [ "lazyvim.plugins.extras.coding.mini-surround", "lazyvim.plugins.extras.coding.yanky", + "lazyvim.plugins.extras.editor.dial", + "lazyvim.plugins.extras.editor.fzf", "lazyvim.plugins.extras.editor.outline", "lazyvim.plugins.extras.formatting.prettier", + "lazyvim.plugins.extras.lang.ansible", + "lazyvim.plugins.extras.lang.docker", + "lazyvim.plugins.extras.lang.git", "lazyvim.plugins.extras.lang.json", "lazyvim.plugins.extras.lang.markdown", + "lazyvim.plugins.extras.lang.python", "lazyvim.plugins.extras.lang.rust", + "lazyvim.plugins.extras.lang.tailwind", "lazyvim.plugins.extras.lang.tex", - "lazyvim.plugins.extras.lang.toml" + "lazyvim.plugins.extras.lang.toml", + "lazyvim.plugins.extras.util.dot" ], "news": { "NEWS.md": "6520" diff --git a/vim/.config/nvim/spell/en.utf-8.add b/vim/.config/nvim/spell/en.utf-8.add index 4ef8d3c..48a93b7 100644 --- a/vim/.config/nvim/spell/en.utf-8.add +++ b/vim/.config/nvim/spell/en.utf-8.add @@ -167,3 +167,14 @@ IaC Proxmox Sina Arbeitszeitsregelung +SRE +SREs +SLO +k3s +config +kubernetes +KUBECONFIG +localhost +gitea +RBAC +netcup diff --git a/vim/.config/nvim/spell/en.utf-8.add.spl b/vim/.config/nvim/spell/en.utf-8.add.spl index b633e60bee8c785230ee9acf60ad3707fff83ce8..b742dfe9581499ced7450939fee17101abc3dd44 100644 GIT binary patch delta 868 zcmY*XO=}cE5bf%j-4(%T{6L2Iu@Mc5Atakmj2Mzl0*i@BToZD1c6YM7WOiolnP?IZ zA$ar>Xc0Vl@a#cEyogBr2YQP+nu{0lCPdL!J)$_nOjlREdR6th-?ctF+OklXj+&nD z=Y9#1dh?>?5~ZqANc-hg+N3jIs+JeVL_!Qlq^Jsuc0%&l)9LCDa`GUoeHVLqN}sd3 zHg*D9W7O7?j8-UQU^bv8oN+-AsrxX}udE>{_VrgQd)`*I>s1?Qg!E8K+gRDbiNtL`W#^O@kU(WtXB!LE5CE=~XzOmUmZaCOHl#LKTH^ z#_<^~9bRiR35nLZrn4^HB#`Ir_?i)A6aWrR$>|2=H~zNFzF6jq9K66+B%liZ>{c|! zYxg|OCAY*WqDl5l$Qnz{%FZUrIu-Prq}?G?*BLNS)I-KtoNzgYaV|dge@}v+-=|xs A`2YX_ delta 784 zcmY*X!DKL2;*(WRi@TnWS%~npUtB zS6S%heL~hQ)Qz|hp~+;QTs-WeK!eVBLS4>GZtq2~$?U5p z#v7m?$wkm3FaeJZ<|S-EjrI~Ex+mJoL(hjcL7pa>44!kb)&v*$AY?#9J+*#RH(Y8) z2o+~s83R*n`~*6n_A^;TM~xe~Qy@v#3aL1;xgPnuS{JCgQHH8|V_dK<>H16RtMPEe z^!()6u5!#d#NXt z)o{ru!u<3BdKCrfhRU+eT=~KgMp$T|nC7Qa+_@lmCGe_QyIi-a=<>kAp6_q`d-L`%3@M#}b(`fCO#^$yb z=&#eVd2PcYMX^QB!rnqRB}#lOZR#i-5-_=pDOcKD*)lTA_bIAFi<4**VY8K}B>%S}`1cpq`IMFb diff --git a/zsh/.zshrc b/zsh/.zshrc index d56755b..c5bce0a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -24,6 +24,8 @@ setopt HIST_SAVE_NO_DUPS setopt SHARE_HISTORY # Alias +alias kc="kubectl" +alias kns="kubens" alias q="exit" alias vim="nvim" alias cat="bat --pager=never"