I have been using SSH configuration a lot to make short hostname aliases for sites I SSH into frequently, but I recently figured out how to use it to change to a certain directory by default when logging in. At work, our sites each have their own user with their own site project directory. Most of the time when I log in, I want to go to the project directory instead of the default, the home directory. I cd
ed manually each time for a long time, but decided to look up a better option, and found a config option on ServerFault.
ssh posts
Mac OS 13 Ventura update
I recently updated to Mac OS version 13 (Ventura). It mostly went smoothly, but there were a few issues of note, including an SSH key problem.
Continue reading post "Mac OS 13 Ventura update"SSH tunnel as “poor mans” VPN
A few web servers that I’ve needed to access for work have blocked my connection when connecting via tethering to my phone internet (T-Mobile). To get around this, I used an SSH tunnel as a SOCKS proxy for my web traffic.
Continue reading post "SSH tunnel as “poor mans” VPN"Recreating missing ‘vagrant’ user
Recently, the ‘vagrant’ user somehow disappeared on a vagrant VM of mine. It may have happened during a do-dist-upgrade
. It took me a while to figure out why vagrant provision
and vagrant ssh
were failing.