[{"content":"A small compilation of useful commands in Linux for handling SSH keys.\nGenerate new SSH key You will be asked for a passphrase for the private key.\nssh-keygen -t ed25519 -o -a 321 -f ~/.ssh/ssh_key -C \u0026#34;${USER}@${HOST}4\u0026lt;PURPOSE\u0026gt;\u0026#34; Not recommended: Creates a new ssh key without asking for a passphrase. Results in an unprotected private key!\nssh-keygen -t ed25519 -o -a 321 -f ~/.ssh/weak_ssh_key -C \u0026#34;${USER}@${HOST}4\u0026lt;PURPOSE\u0026gt;\u0026#34; -N \u0026#34;\u0026#34; Copy public key into clipboard Command: If missing, install clipboard. Command: Put public key into clipboard without trailing newline (-n). Ready to go. Use Ctrl+v now wherever you need to paste. sudo apt update -y \u0026amp;\u0026amp; sudo apt install xclip -y echo -n `cat ~/.ssh/ssh_key.pub` | xclip -selection clipboard To store the public key on a server, use the following command instead.\nssh-copy-id user@hostname.domain.tld Multiple SSH keys? Be more specific. The option -i works as well for the command ssh.\nssh-copy-id -i ~/.ssh/ssh_key.pub user@hostname.domain.tld ","date":"December 30, 2025","permalink":"/posts/ssh-foo/","summary":"A small compilation of useful commands in Linux for handling SSH keys.","title":"SSH-foo","type":"posts"},{"content":"So that you don\u0026rsquo;t lose track after a fresh installation of an Ubuntu-based system.\nUpdate system sudo apt update -y \u0026amp;\u0026amp; sudo apt upgrade -y Bave Browser Add the GPG key of the repository.\nsudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg Add the repository.\necho \u0026#34;deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main\u0026#34; \\ | sudo tee /etc/apt/sources.list.d/brave-browser-release.list VSCodium Add the GPG key of the repository.\nwget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \\ | gpg --dearmor \\ | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg Add the repository.\necho \u0026#39;deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main\u0026#39; \\ | sudo tee /etc/apt/sources.list.d/vscodium.list Sublime Add the GPG key of the repository.\nwget -qO - https://download.sublimetext.com/sublimehq-pub.gpg \\ | gpg --dearmor \\ | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg \u0026gt; /dev/null Add the repository.\necho \u0026#34;deb https://download.sublimetext.com/ apt/stable/\u0026#34; \\ | sudo tee /etc/apt/sources.list.d/sublime-text.list Command palete install package control\nUsing Command Palette by Ctrl+Shift+P to install Package Control Install Packages.\nMarkdown Code Blocks MarkdownPreview Add key binding for inserting code blocks: Preferences\u0026gt;Key Bindings\n[ { \u0026#34;keys\u0026#34;: [\u0026#34;ctrl+shift+z\u0026#34;], \u0026#34;caption\u0026#34;: \u0026#34;Markdown Code Blocks: Add Block\u0026#34;, \u0026#34;command\u0026#34;: \u0026#34;markdown_add_code_block\u0026#34; }, ] Upgrade system and install software Upgrade all packages.\nsudo apt upgrade -y Install additional packages.\nsudo apt install -y bat brave-browser codium curl gcc git kitty make neovim ripgrep screenfetch sublime-text tmux tree unzip xclip zsh Install Oh My Zsh chsh --shell $(which zsh) $(whoami) Logout and login again. Now follow the 🐇. Neovim kickstart Neovim kickstart configuration.\ngit clone https://github.com/nvim-lua/kickstart.nvim.git \u0026#34;${XDG_CONFIG_HOME:-$HOME/.config}\u0026#34;/nvim AdnanHodzic/auto-cpufreq Install auto-cpufreq git clone https://github.com/AdnanHodzic/auto-cpufreq.git cd auto-cpufreq \u0026amp;\u0026amp; sudo ./auto-cpufreq-installer sudo auto-cpufreq --install Miniconda Follow the 🐇. mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm ~/miniconda3/miniconda.sh source ~/miniconda3/bin/activate conda init --all echo \u0026#39;source ~/miniconda3/bin/activate\u0026#39; \u0026gt;\u0026gt; ~/.zshrc Set solid color as background gsettings set org.gnome.desktop.background picture-uri \u0026#39;\u0026#39; gsettings set org.gnome.desktop.background picture-uri-dark \u0026#39;\u0026#39; gsettings reset org.gnome.desktop.background color-shading-type gsettings set org.gnome.desktop.background primary-color \u0026#39;#1866BD\u0026#39; ","date":"December 29, 2025","permalink":"/posts/new-ubuntu/","summary":"So that you don\u0026rsquo;t lose track after a fresh installation of an Ubuntu-based system.","title":"New Ubuntu","type":"posts"}]