Updating Packages Using Apt On Old Debian Installs

When attempting to install a new package or update an existing package if you are presented with the error E: Release file expired, ignoring http://archive.debian.org/debian-archive/debian/dists/squeeze-lts/Release (invalid since 189d 0h 42min 32s) You will need to execute the following command as root: $ echo ‘Acquire::Check-Valid-Until “false”;’ > /etc/apt/apt.conf.d/90ignore-release-date And then perform… Read more…

Share

OpenSSH Public Key Authentication

Key Generation ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter passphrase (empty for no passphrase): … Enter same passphrase again: … Key Distribution # first, upload public key from client to server scp ~/.ssh/id_rsa.pub user@server.example.org: # next, setup the public key on server cat ~/id_rsa.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys rm Read more…

Share