diff --git a/config b/config new file mode 100644 index 0000000..364d3e3 --- /dev/null +++ b/config @@ -0,0 +1,197 @@ +#<<<<< SSH Config file managed by sshclick >>>>> + +#------------------------------------------------------------------------------- +#@group: home +#------------------------------------------------------------------------------- +Host store + hostname 192.168.178.175 + user simong + identityfile ~/.ssh/id_ed25519 + +Host solidago + hostname 192.168.178.170 + user simon_greenwood + identityfile ~/.ssh/id_ed25519_tarragon + +Host prodesk + hostname 192.168.178.200 + user simong + identityfile ~/.ssh/id_ed25519 + +Host dill + hostname 192.168.178.180 + user simong + identityfile ~/.ssh/id_ed25519 +#------------------------------------------------------------------------------- +#@group: LawyersOnline +#------------------------------------------------------------------------------- +Host lol-store + hostname 80.190.84.5 + user root + identityfile ~/.ssh/id_ed25519_lol + +Host lol-nexushost + hostname 80.190.84.4 + user stdadmin + identityfile ~/.ssh/id_ed25519_lol + +Host lol-vweb + hostname 80.190.84.0 + user root + identityfile ~/.ssh/id_ed25519_lol + +Host lol-web + hostname 80.190.84.1 + user stdadmin + identityfile ~/.ssh/id_ed25519_lol + +Host lol-business + hostname 80.190.84.3 + user stdadmin + identityfile ~/.ssh/id_ed25519_lol + +Host lol-control + hostname 80.190.84.2 + user stdadmin + identityfile ~/.ssh/id_ed25519_lol + +Host authns1 + # hostname authns1.lawyersonline.co.uk + hostname 57.128.159.243 + user root + identityfile ~/.ssh/id_ed25519_lol + +Host authns2 + hostname authns2.lawyersonline.co.uk + user root + identityfile ~/.ssh/id_ed25519_lol + +Host authns3 + hostname authns3.lawyersonline.co.uk + user root + identityfile ~/.ssh/id_ed25519_lol + +Host securecollect + hostname securecollect.lawyersonline.co.uk + user stdadmin + HostKeyAlgorithms +ssh-rsa + PubkeyAcceptedKeyTypes +ssh-rsa + identityfile ~/.ssh/id_rsa_work + +Host securesend + hostname securesend.lawyersonline.co.uk + user stdadmin + HostKeyAlgorithms +ssh-rsa + PubkeyAcceptedKeyTypes +ssh-rsa + identityfile ~/.ssh/id_rsa_work + +Host securereceive + hostname securereceive.lawyersonline.co.uk + user stdadmin + HostKeyAlgorithms +ssh-rsa + PubkeyAcceptedKeyTypes +ssh-rsa + identityfile ~/.ssh/id_rsa_work + +Host outboundary + hostname outboundary.lawyersonline.co.uk + user stdadmin + identityfile ~/.ssh/id_rsa_work + +Host outboundary0 + hostname outboundary0.lawyersonline.co.uk + user stdadmin + identityfile ~/.ssh/id_rsa_work + +Host nexus + hostname 35.189.73.72 + user stdadmin + port 2222 + KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 + HostKeyAlgorithms +ssh-rsa + PubkeyAcceptedKeyTypes +ssh-rsa + identityfile ~/.ssh/id_rsa_work + +Host nexushost + hostname 35.189.73.72 + user stdadmin + identityfile ~/.ssh/id_rsa_work + +Host mailav + Hostname mailav.lawyersonline.co.uk + user stdadmin + PubkeyAcceptedKeyTypes +ssh-rsa + identityfile ~/.ssh/id_rsa_work + +Host lol_legal + hostname 35.234.143.122 + user stdadmin + identityfile ~/.ssh/id_rsa_work + + + +#------------------------------------------------------------------------------- +#@group: Videobooth +#------------------------------------------------------------------------------- +Host videobooth + hostname server.videoboothsystems.com + port 2302 + user root + identityfile ~/.ssh/id_rsa_work + +Host eventshouse + hostname server.eventshouse.app + port 2302 + user root + identityfile ~/.ssh/id_rsa_serversonic + + +#------------------------------------------------------------------------------- +#@group: AGZ +#------------------------------------------------------------------------------- +Host admingeekz + hostname admin.admingeekz.com + user simon + identityfile ~/.ssh/id_ed25519_agz + port 2093 + ServerAliveInterval 300 + +Host agz-scp + hostname admin.admingeekz.com + user simon + identityfile ~/.ssh/id_ed25519_agz + port 2093 + ServerAliveInterval 300 + ProxyJump admingeekz + ProxyCommand ssh -Aq @ -W %h:%p + + +#------------------------------------------------------------------------------- +#@group: Yunohost +#------------------------------------------------------------------------------- +Host web-simong + hostname 158.220.90.98 + user simon_greenwood + port 2222 + identityfile ~/.ssh/id_ed25519_tarragon + + +#------------------------------------------------------------------------------- +#@group: serversonic +#------------------------------------------------------------------------------- +Host mailbox-old + hostname 149.102.157.157 + port 2222 + user root + identityfile ~/.ssh/id_ed25519 + +Host mailbox + hostname 158.220.90.133 + port 2222 + user root + identityfile ~/.ssh/id_ed25519 + +Host vps + hostname 158.220.81.190 + port 2222 + user root + identityfile ~/.ssh/id_ed25519 diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..4023471 --- /dev/null +++ b/zshrc @@ -0,0 +1,120 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="agnoster" + +# Remove username from prompt +DEFAULT_USER="simong" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +# plugins=(git) +plugins=(git zsh-autosuggestions zsh-syntax-highlighting) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +alias s="ssh" +alias enter="ssh" +alias vi="nvim" +alias vim="nvim" + +# Add snap and flatpak for command line +#emulate sh -c 'source /etc/profile.d/apps-bin-path.sh' + + +# Created by `pipx` on 2024-04-12 19:17:55 +export PATH="$PATH:/home/simong/.local/bin" + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion