For security reasons, passwordless login is generally implemented using public-private key pairs. Here, I’ll mark down the configuration method. Log into the client machine and create a public-private key pair if you don’t already have one.
Sep 19, 2024
This post introduces ShellCheck, covering when to use it and how it works so you can adopt it more efficiently.
Aug 7, 2024
This post explores whether an SSH2-based web terminal can specify a startup file when opening an interactive session, outlines possible approaches, and notes their trade-offs.
Jun 29, 2024
Explains the 'Ignoring unknown extended header keyword' message when using tar between macOS and Linux, why it happens, and how to address it.
Jun 11, 2024
Shows how to detect the machine’s CPU architecture in shell scripts so you can download the correct Code Server package.
Jun 11, 2024
Explains the difference between shell autosuggestions and autocompletion, and shows how to enable suggestions in Bash, Zsh, and Fish.
Jun 10, 2024
Quick notes on login shells—the advantages, how they load configuration, and related resources—so I can troubleshoot them faster.
May 15, 2024
Ever wondered about the `#!` line at the start of scripts? This guide explains what a Shebang is, how it works, and why it's crucial for cross-platform script execution.
Apr 2, 2024
Quick reference for installing Bash, Zsh, Fish, and Tcsh on Ubuntu plus notes on printf escaping differences.
Oct 31, 2023
This post explains the time-style parameter in Linux ls, including format output, compatibility, and workarounds.
Sep 5, 2023
This article provides an analysis of FreeBSD password login timeout errors, including troubleshooting steps, implementation details, and related resources to help improve efficiency when resolving FreeBSD password login timeout issues.
Aug 21, 2022
Debugging public-key auth failures on Ubuntu 22.04 after ssh-rsa was disabled by default; covers root cause and three fixes.
Jul 18, 2022
This post explains Linux file permissions, how to interpret them, and how to check access rights.
Jul 16, 2022
This article introduces the differences between --help and man commands, including their advantages, implementation details, and related resources. These insights can help improve efficiency when using command help documentation.
May 3, 2022
Diagnoses rsync reporting “total size is 0 speedup is 0.00” during GitHub Actions deployments and traces it back to mismatched Node versions.
Dec 1, 2020
Use a small expect script to automate OpenConnect VPN login steps at home, reducing repetitive prompts.
Sep 15, 2018
This article discusses the issue of oh my zsh configuration file not loading automatically, including the solution to fix this problem and improve terminal efficiency.
Apr 7, 2018
This post explains the Linux file system hierarchy and common directory meanings to help you choose proper install paths.
Mar 18, 2018
This post explains how to install Maven in a Zsh environment on Mac, including setup steps and configuration.
Mar 4, 2018
A step-by-step guide to deploying a full-stack Angular and Express application on a CentOS server, covering environment setup, process management with PM2, and Nginx reverse proxy configuration.
Dec 13, 2017
This article introduces the Chinese character encoding issues in oh-my-zsh, including the advantages, implementation details, and relevant resources. These steps can help improve efficiency when dealing with oh-my-zsh Chinese character encoding problems.
Nov 26, 2017
This post introduces how to use sz and rz on Linux for simple file uploads and downloads, including installation, usage, and iTerm2 setup on macOS.
Sep 24, 2017
A quick reference of common Windows CMD commands for environment variables and network/process inspection.
Sep 12, 2017
This post introduces how to install and configure vsftpd on Linux, along with basic service setup and reference material.
Aug 19, 2017
This post introduces how to install Redis on Linux, covering the official source build method, startup setup, and a yum-based installation option.
Jul 11, 2017