Skip to content

Lite Bytes

SSH via URI

Finally started OverTheWire, after procrastinating forever.

Just started Bandit and TIL how to use SSH to access a server via URI. Only ever used IP, so that was fun. Had also assumed the method for specifying the port was the same as telnet, which is incorrect.

How to use SSH in URI form with ssh://user@host.com:<port>.

So it would be:

ssh  ssh://user@domain.com:2220

Gitlab Pages: Failed to verify domain ownership

I've done this one a few times and forgot to document each time.

The issue is that the instructions are confusing.

Under Deploy > Pages, you would add your domain, to check on the verification you can navigate back to the domain in question from here.

When you add the domain, it opens up a "Pages Domain" page with the DNS records needed for the domain verification. The issue here, is the instructions are confusing. Each time that I've put the info in exactly -- it fails. Every time.

I'm sure each time, I've resolved it differently, but here's what worked the last time. There will be two DNS records: the ALIAS and the domain verification record. The ALIAS record is fine. The domain verification record is where the issue is. It will be displayed as:

_gitlab-pages-verification-code.<'DOMAIN'> TXT gitlab-pages-verification-code=<'VERIFICATION CODE'>

Entering it this way on Namecheap, causes it to fail. I've also tried just using '_gitlab-pages-verification-code.' in the host field - this also did not work.

What worked for me was to use the DOMAIN in the host field and the verification as is in the TXT value for the record. Wait for the TTL to expire on the old record and check again, but it should verify automatically.

Install OpenVPN Linux

  1. Download OpenVPN by running the following command in your terminal: sudo apt install openvpn

  2. Locate the full path to your VPN configuration file.

  3. Use your OpenVPN file with the following command: sudo openvpn /path-to-file/file-name.ovpn

Addigy ABM Token Renewal

It's renewal season, again.
And you've forgotten how to do this, again. 😭

Quick notes:

Addigy ADE Token Renewal / MDM Certificate Renewal (APN)
In Addigy it's Policies > Settings > ADE
In ABM > Right-click on Account > Preferences > Server Tokens

Apps & Books Token Renewal (Apple VPP)
In Addigy it's Policies > Settings > Apps & Books
In ABM > Right-click on Account > Preferences > Payments & Billing > Content Tokens

See hidden files on Mac (via Finder)

  1. In Finder, open up the relevant folder.
  2. Press ⌘ + Shift ⇧ + Dot.
  3. Your hidden files will become visible. Repeat step 2 to hide them again!