From ff28ee6a2e86ea677f07b7d7c864c93511916189 Mon Sep 17 00:00:00 2001 From: flo Date: Tue, 24 Aug 2021 21:27:53 +0200 Subject: [PATCH] ssh und standart dot files --- .bash_logout | 6 + .bash_profile | 5 + .dir_colors | 243 ++++++++++++++++++++++++++++++++++++ .screenrc | 154 +++++++++++++++++++++++ .ssh/authorized_keys | 1 + .ssh/flo@obelix | 30 +++++ .ssh/id_dropbear | Bin 0 -> 805 bytes .ssh/id_dropbear.pub | 1 + .ssh/id_ecdsa_sk | 11 ++ .ssh/id_ecdsa_sk.pub | 1 + .ssh/id_rsa | 30 +++++ .ssh/id_rsa.pub | 1 + .ssh/id_rsa_gallier | 132 ++++++++++++++++++++ .ssh/id_rsa_hetzner | 50 ++++++++ .ssh/id_rsa_hetzner.pub | 1 + .ssh/id_rsa_hetzner_flo | 50 ++++++++ .ssh/id_rsa_hetzner_flo.pub | 1 + .ssh/id_rsa_miraculix | 30 +++++ .ssh/id_rsa_miraculix.pub | 1 + .ssh/id_rsa_z1c | 54 ++++++++ .ssh/id_rsa_z1c.pub | 1 + .ssh/id_rsa_z3c | 54 ++++++++ .ssh/id_rsa_z3c.pub | 1 + .ssh/known_hosts | 81 ++++++++++++ .ssh/known_hosts.old | 78 ++++++++++++ .ssh/other_keys.seahorse | 1 + .vimrc | 108 ++++++++++++++++ 27 files changed, 1126 insertions(+) create mode 100644 .bash_logout create mode 100644 .bash_profile create mode 100644 .dir_colors create mode 100644 .screenrc create mode 100644 .ssh/authorized_keys create mode 100644 .ssh/flo@obelix create mode 100644 .ssh/id_dropbear create mode 100644 .ssh/id_dropbear.pub create mode 100644 .ssh/id_ecdsa_sk create mode 100644 .ssh/id_ecdsa_sk.pub create mode 100644 .ssh/id_rsa create mode 100644 .ssh/id_rsa.pub create mode 100644 .ssh/id_rsa_gallier create mode 100644 .ssh/id_rsa_hetzner create mode 100644 .ssh/id_rsa_hetzner.pub create mode 100644 .ssh/id_rsa_hetzner_flo create mode 100644 .ssh/id_rsa_hetzner_flo.pub create mode 100644 .ssh/id_rsa_miraculix create mode 100644 .ssh/id_rsa_miraculix.pub create mode 100644 .ssh/id_rsa_z1c create mode 100644 .ssh/id_rsa_z1c.pub create mode 100644 .ssh/id_rsa_z3c create mode 100644 .ssh/id_rsa_z3c.pub create mode 100644 .ssh/known_hosts create mode 100644 .ssh/known_hosts.old create mode 100644 .ssh/other_keys.seahorse create mode 100644 .vimrc diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..44b6f79 --- /dev/null +++ b/.bash_logout @@ -0,0 +1,6 @@ +# /etc/skel/.bash_logout + +# This file is sourced when a login shell terminates. + +# Clear the screen for security's sake. +clear diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..94a6622 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,5 @@ +# /etc/skel/.bash_profile + +# This file is sourced by bash for login shells. The following line +# runs your .bashrc and is recommended by the bash info pages. +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.dir_colors b/.dir_colors new file mode 100644 index 0000000..89c085d --- /dev/null +++ b/.dir_colors @@ -0,0 +1,243 @@ +# Configuration file for dircolors, a utility to help you set the +# LS_COLORS environment variable used by GNU ls with the --color option. + +# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copying and distribution of this file, with or without modification, +# are permitted provided the copyright notice and this notice are preserved. + +# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the +# slackware version of dircolors) are recognized but ignored. + +# You can copy this file to .dir_colors in your $HOME directory to override +# the system defaults. + +# Below, there should be one TERM entry for each termtype that is colorizable +TERM Eterm +TERM ansi +TERM color-xterm +TERM con132x25 +TERM con132x30 +TERM con132x43 +TERM con132x60 +TERM con80x25 +TERM con80x28 +TERM con80x30 +TERM con80x43 +TERM con80x50 +TERM con80x60 +TERM cons25 +TERM console +TERM cygwin +TERM dtterm +TERM eterm-color +TERM gnome +TERM gnome-256color +TERM hurd +TERM jfbterm +TERM konsole +TERM kterm +TERM linux +TERM linux-c +TERM mach-color +TERM mach-gnu-color +TERM mlterm +TERM putty +TERM putty-256color +TERM rxvt +TERM rxvt-256color +TERM rxvt-cygwin +TERM rxvt-cygwin-native +TERM rxvt-unicode +TERM rxvt-unicode-256color +TERM rxvt-unicode256 +TERM screen +TERM screen-256color +TERM screen-256color-bce +TERM screen-bce +TERM screen-w +TERM screen.Eterm +TERM screen.rxvt +TERM screen.linux +TERM st +TERM st-256color +TERM terminator +TERM vt100 +TERM xterm +TERM xterm-16color +TERM xterm-256color +TERM xterm-88color +TERM xterm-color +TERM xterm-debian + +# Below are the color init strings for the basic file types. A color init +# string consists of one or more of the following numeric codes: +# Attribute codes: +# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed +# Text color codes: +# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white +# Background color codes: +# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white +#NORMAL 00 # no color code at all +#FILE 00 # regular file: use no color at all +RESET 0 # reset to "normal" color +DIR 01;34 # directory +LINK 01;36 # symbolic link. (If you set this to 'target' instead of a + # numerical value, the color is as for the file pointed to.) +MULTIHARDLINK 00 # regular file with more than one link +FIFO 40;33 # pipe +SOCK 01;35 # socket +DOOR 01;35 # door +BLK 40;33;01 # block device driver +CHR 40;33;01 # character device driver +ORPHAN 01;05;37;41 # orphaned syminks +MISSING 01;05;37;41 # ... and the files they point to +SETUID 37;41 # file that is setuid (u+s) +SETGID 30;43 # file that is setgid (g+s) +CAPABILITY 30;41 # file with capability +STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) +OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky +STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable + +# This is for files with execute permission: +EXEC 01;32 + +# List any file extensions like '.gz' or '.tar' that you would like ls +# to colorize below. Put the extension, a space, and the color init string. +# (and any comments you want to add after a '#') + +# If you use DOS-style suffixes, you may want to uncomment the following: +#.cmd 01;32 # executables (bright green) +#.exe 01;32 +#.com 01;32 +#.btm 01;32 +#.bat 01;32 +# Or if you want to colorize scripts even if they do not have the +# executable bit actually set. +#.sh 01;32 +#.csh 01;32 + + # archives or compressed (bright red) +.tar 01;31 +.tgz 01;31 +.arc 01;31 +.arj 01;31 +.taz 01;31 +.lha 01;31 +.lz4 01;31 +.lzh 01;31 +.lzma 01;31 +.tlz 01;31 +.txz 01;31 +.tzo 01;31 +.t7z 01;31 +.zip 01;31 +.z 01;31 +.Z 01;31 +.dz 01;31 +.gz 01;31 +.lrz 01;31 +.lz 01;31 +.lzo 01;31 +.xz 01;31 +.bz2 01;31 +.bz 01;31 +.tbz 01;31 +.tbz2 01;31 +.tz 01;31 +.deb 01;31 +.rpm 01;31 +.jar 01;31 +.war 01;31 +.ear 01;31 +.sar 01;31 +.rar 01;31 +.alz 01;31 +.ace 01;31 +.zoo 01;31 +.cpio 01;31 +.7z 01;31 +.rz 01;31 +.cab 01;31 + +# image formats +.jpg 01;35 +.jpeg 01;35 +.gif 01;35 +.bmp 01;35 +.pbm 01;35 +.pgm 01;35 +.ppm 01;35 +.tga 01;35 +.xbm 01;35 +.xpm 01;35 +.tif 01;35 +.tiff 01;35 +.png 01;35 +.svg 01;35 +.svgz 01;35 +.mng 01;35 +.pcx 01;35 +.mov 01;35 +.mpg 01;35 +.mpeg 01;35 +.m2v 01;35 +.mkv 01;35 +.webm 01;35 +.ogm 01;35 +.mp4 01;35 +.m4v 01;35 +.mp4v 01;35 +.vob 01;35 +.qt 01;35 +.nuv 01;35 +.wmv 01;35 +.asf 01;35 +.rm 01;35 +.rmvb 01;35 +.flc 01;35 +.avi 01;35 +.fli 01;35 +.flv 01;35 +.gl 01;35 +.dl 01;35 +.xcf 01;35 +.xwd 01;35 +.yuv 01;35 +.cgm 01;35 +.emf 01;35 + +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axv 01;35 +.anx 01;35 +.ogv 01;35 +.ogx 01;35 + +# Document files +.pdf 00;32 +.ps 00;32 +.txt 00;32 +.patch 00;32 +.diff 00;32 +.log 00;32 +.tex 00;32 +.doc 00;32 + +# audio formats +.aac 00;36 +.au 00;36 +.flac 00;36 +.m4a 00;36 +.mid 00;36 +.midi 00;36 +.mka 00;36 +.mp3 00;36 +.mpc 00;36 +.ogg 00;36 +.ra 00;36 +.wav 00;36 + +# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions +.axa 00;36 +.oga 00;36 +.spx 00;36 +.xspf 00;36 diff --git a/.screenrc b/.screenrc new file mode 100644 index 0000000..69b2f92 --- /dev/null +++ b/.screenrc @@ -0,0 +1,154 @@ +# +# Example of a user's .screenrc file +# + +# This is how one can set a reattach password: +# password ODSJQf.4IJN7E # "1234" + +# no annoying audible bell, please +vbell on + +# detach on hangup +autodetach on + +# don't display the copyright page +startup_message off + +# emulate .logout message +pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." + +# advertise hardstatus support to $TERMCAP +# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' + +# make the shell in every window a login shell +#shell -$SHELL + +# autoaka testing +# shellaka '> |tcsh' +# shellaka '$ |sh' + +# set every new windows hardstatus line to somenthing descriptive +# defhstatus "screen: ^En (^Et)" + +defscrollback 1000 + +# don't kill window after the process died +# zombie "^[" + +################ +# +# xterm tweaks +# + +#xterm understands both im/ic and doesn't have a status line. +#Note: Do not specify im and ic in the real termcap/info file as +#some programs (e.g. vi) will not work anymore. +termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l +terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l + +#80/132 column switching must be enabled for ^AW to work +#change init sequence to not switch width +termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l + +# Make the output buffer large for (fast) xterms. +termcapinfo xterm* OL=10000 + +# tell screen that xterm can switch to dark background and has function +# keys. +termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' +termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' +termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~' + +# special xterm hardstatus: use the window title. +termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' + +#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' +termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' + +# emulate part of the 'K' charset +termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' + +# xterm-52 tweaks: +# - uses background color for delete operations +termcapinfo xterm be + +################ +# +# wyse terminals +# + +#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") +#essential to have it here, as this is a slow terminal. +termcapinfo wy75-42 xo:hs@ + +# New termcap sequences for cursor application mode. +termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J + +################ +# +# other terminals +# + +#make hp700 termcap/info better +termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@' + +# Extend the vt100 desciption by some sequences. +termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC +terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC +# terminfo and termcap for nice 256 color terminal +# allow bold colors - necessary for some reason +attrcolor b ".I" +# tell screen how to set colors. AB = background, AF=foreground +termcapinfo xterm-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +# erase background with current bg color +defbce "on" + +################ +# +# keybindings +# + +#remove some stupid / dangerous key bindings +bind k +bind ^k +bind . +bind ^\ +bind \\ +bind ^h +bind h +#make them better +bind 'K' kill +bind 'I' login on +bind 'O' login off +bind '}' history + +# Yet another hack: +# Prepend/append register [/] to the paste if ^a^] is pressed. +# This lets me have autoindent mode in vi. +register [ "\033:se noai\015a" +register ] "\033:se ai\015a" +bind ^] paste [.] + +################ +# +# default windows +# + +# screen -t local 0 +# screen -t mail 1 elm +# screen -t 40 2 rlogin faui40 + +# caption always "%3n %t%? @%u%?%? [%h]%?" +# hardstatus alwaysignore +# hardstatus alwayslastline "%w" + +# bind = resize = +# bind + resize +1 +# bind - resize -1 +# bind _ resize max +# +# attrcolor u "-u b" +# attrcolor b "R" + +hardstatus alwayslastline +hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR} (%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}] %{=b C}[ %m/%d %c ]%{W}' \ No newline at end of file diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys new file mode 100644 index 0000000..0da769f --- /dev/null +++ b/.ssh/authorized_keys @@ -0,0 +1 @@ +sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBHbWOiibkZTxUjLp27s3lE6+Xsaf76Zy3gB7HUOCj/rjiOsIKwq6Y4MkhlEBFQTC2qCqalCV3IPIEDBE+V/9iZkAAAAEc3NoOg== flo@miraculix diff --git a/.ssh/flo@obelix b/.ssh/flo@obelix new file mode 100644 index 0000000..4370e37 --- /dev/null +++ b/.ssh/flo@obelix @@ -0,0 +1,30 @@ +-----BEGIN RSA PRIVATE KEY----- +Proc-Type: 4,ENCRYPTED +DEK-Info: AES-128-CBC,CFC49D51D917E6081076D8C1ADD21104 + +1px8WnA/GAmkNeK1IxZwZZCCeFseVidc3K+QlftsYP/egx91qv98CvAc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IBLdBqJ/A8z/uQRn2e5+kR6DJkSXEGBOZNMdIyBXVbE/ExbIJKEjJ7w +8zdGC3zddifjMv/qykHGwZfNrvdYTpU+rfdA2Y9UO7KZOW8giD0DCecY7hcKDDvE +2e5Ll7GqLnGY+89kPUFqx0PjtVVxiENfvkwfAy0zp+sMkriFfY1YjZkLSNNgWmBl +0HUaJeSP2XGSE8RdVfkbjf9eR9Jj43ZkJQFKwmw8bQwbcZnDNmgU4EZXOJ0ZIqVW +Tsw5mq7VHSP1VUZj+z7HkExGTDVnkxjKelXxOjYIw7AkimwmJgsY0WTtV/2k2yjn +XXBHvVOBOBMDWRk2Ffd1/SqRnbaQsQY7cckjr51k1lnEESejUEGm03/7jpWILXp/ +eXHs9H/MPNLGx2umcxUUNfm0DvGZ26cN3bCYgusS3Ei/P+Oqh0O6khSAogKEED5t +kS6Zx/e1OaLBGZx/trYYgdj889Wve9h9cRWu17YtwWXmfUGu4bz7gsv+di/yifwN +-----END RSA PRIVATE KEY----- diff --git a/.ssh/id_dropbear b/.ssh/id_dropbear new file mode 100644 index 0000000000000000000000000000000000000000..1124e6eefa289a1d818612608ea5b41e308f856e GIT binary patch literal 805 zcmZQzU|=sU&d@C?PGn$UU}j`sWME)qWSF&YS)=k(ri%UZU%%(|NZ^2K1X-!JiX{O9GFUwV4MLiGoi zf89H5{hBQ&Rn@S0SG25hatQnC^^xMI#3tO3F`e`B<$=3FnOV$|oG0Ju2C`PV_C!xD zufKR|i|yQd4d4&exYIHrP36&-jFpdz@&vRQ%fgJBk0++5DbAI$zqPh^ zUT~zNmEzkoSAV_rF_dYYA9IdFPVvx=$CG(Z*uGk;!SbGgfsuhJHm;g^*Nb&dn^W_o zTw>xwJ+r#sFz(Rle#f6ZS!TmE-=%ra?CXUtZ~D}D^+eshWcF>my#-a*8*lcnwraeh zwrWy~NO0t=HQayjFI{u$Jchd}e(LWmLs-IWz z&M^>>@6-INCBG;1==K(~FP#@0Kg{x-;`Tq;bJ2rxHU1S>*Q@RoN#kVB3)^$)-nKb=^aO;K<*r%hIL|DBM|8XNrP7B{ z8*7wgvR?N2SFr2aO#QS(q(AS@9qwn#vOf7sPvcu2`8T?f`@n-8!WA~DmyXQc$iTqR z$gs{(omt-8Z}s62#sf`rtN>$1-3%hFPNkG@|t@rBY`W-m`Il_dw( zsq5u4a0hMv)c5>~aCcVN+3%nK>Md0*|0a3$dgOxmCguA(#JJC1l73ThdM3Z}yB!Y= z|I2!G-EatGQkM2l3=g<(Im77dHE;gy?VX+9J%73vf*tWVJFzpkY5i 0 && line ("'\"") <= line("$") | + \ exe "normal! g'\"" | + \ endif | + \ endif + + " When editing a crontab file, set backupcopy to yes rather than auto. See + " :help crontab and bug #53437. + autocmd FileType crontab set backupcopy=yes + + " If we previously detected that the default encoding is not UTF-8 + " (g:added_fenc_utf8), assume that a file with only ASCII characters (or no + " characters at all) isn't a Unicode file, but is in the default encoding. + " Except of course if a byte-order mark is in effect. + autocmd BufReadPost * + \ if exists("g:added_fenc_utf8") && &fileencoding == "utf-8" && + \ ! &bomb && search('[\x80-\xFF]','nw') == 0 && &modifiable | + \ set fileencoding= | + \ endif + +augroup END + + +syntax on + +set number +