Change your VPS root password on Ubuntu
Change a VPS root or user password on Ubuntu with passwd, chpasswd and chage, verify it works, and get back in when SSH or the root password is lost.
Filtering by topic #ssh · clear
Change a VPS root or user password on Ubuntu with passwd, chpasswd and chage, verify it works, and get back in when SSH or the root password is lost.
Permission denied (publickey) is five different faults. Read the ssh -v output, find which one you have, and fix it without locking yourself out.
When SSH drops, the kernel sends SIGHUP and your job dies. Use nohup, disown, tmux or systemd to keep it alive, and know which one fits the job.
Your Rocky or Alma server refuses an old TLS or SSH peer? Fix one connection or add a small policy module first, and keep full LEGACY as the last resort.
Lock down SSH on your VPS: switch to key only login, disable root and passwords with a drop in config, and layer Fail2ban and a VPN on top.
Kermit turns 45 and just shipped a new release. The story of file transfer, from noisy phone lines to FTP behind NAT, and why rsync and SFTP won.
Too many authentication failures means SSH reached the server's limit for failed login attempts. Diagnose extra key offers and fix your SSH configuration.
A 1995 password sniffing attack in Helsinki produced SSH. Here is the verified timeline from telnet and rlogin to OpenSSH and post-quantum defaults.
On Ubuntu 24.04 a plain apt install enables SSH bans. Check detection with fail2ban-client, verify firewall rules, and fix Total failed stuck at 0.
Put sshd behind a Tor onion service so the VPS answers on no inbound port. Setup, v3 client authorisation, and the exact order that avoids a lockout.
A new VPS is a target from its first minute. This ten minute runbook creates a user, sets SSH keys, disables root, and turns on the firewall.
Centralize Linux logins so one change reaches every server. Compare a directory with SSSD, an SSH certificate authority, and Ansible-managed keys.
Your Ansible inventory decides which host gets which variable: INI and YAML forms, groups, group_vars, host_vars, connection settings and precedence.
CVE-2026-123158 hits sshd on musl systems without PAM, such as Alpine. Run four checks for a potentially affected setup, then install the fixed package.
Your terminal sets a TERM name the server has never heard of, so curses programs fail. Fix it with a terminfo entry in your home directory, no root.
OpenSSH negotiates hybrid key exchange by default. Check what your Ubuntu box really uses, and where post quantum host keys are now available.
Two SSH errors, different signals. Refused means a rejection came back. Timed out means no reply arrived in time. Learn which test to run, and from where.
Four ways to run a self hosted Git server, ranked by RAM: bare repos over SSH, cgit, Forgejo or Gitea, and GitLab. See what a 1 GB VPS can host.
Log in to your VPS with a hardware security key. Enrol a spare key first, test it in a second session, then make sshd demand a touch and a PIN on every login.
Cursor's marketplace served tampered Claude Code 2.1.312 and 2.1.313, which plant an SSH key. Check your laptop, then rotate server keys from a clean machine.
Copy a directory to another server with tar and SSH: why -f - is needed, where -C goes, who owns the extracted files, and compression in the pipe.
Claude Code runs in tmux on a VPS and your phone is only the window. SSH keys, mosh for flaky mobile data, tmux attach, and the keyboard fixes that matter.
SSH is an encrypted channel to a remote server. Learn the client and server model, port 22, host key fingerprints, and key versus password login.
Git is a program that runs offline. GitHub is one remote. A VPS can hold a second. What separates them, and the SSH steps to add that remote.
Run Claude Code on a Linux VPS inside tmux so agent sessions survive a dropped SSH connection. Install, harden, and the failure modes to expect.
How Canonical's authd logs Ubuntu server users in with Google or Entra ID, what the broker snaps cost you, and the break-glass account to build first.
Read the Their offer list, match each name to the right sshd or ssh_config directive, and fix old devices and old clients without weakening every connection.
Your ssh client warns that the connection is not using a post-quantum key exchange. Find which algorithm you negotiate, and fix the right side.
SSH config, tmux, Ansible, Uptime Kuma, Zabbix and Webmin, ranked by how many servers you have: what each replaces, setup cost in minutes, the one gotcha.
Moving sshd to a new port on Rocky Linux or AlmaLinux needs firewalld, an SELinux port label and sshd_config. Do it in the order that keeps you logged in.
How SSH keys work and how to manage them: one ed25519 key per device, the permissions sshd demands, config Host blocks, and revoking a lost key.
Push one commit to GitHub and a bare repository on your own VPS at the same time: two push URLs on one remote, what mirror does, and what it does not copy.
Yes. The .pub file is meant to be shared. How to tell it from the private key in ten seconds, what a stranger can do with each half, and how to make one.
Locked out because cloud-init never made your login user? Find the real username, read cloud-init status and the logs, and get back in from the console.
tty7 is a Rust terminal workbench with a session daemon, native SSH and agent-aware panes. Install it, then see where tmux on the VPS still wins.