SSH Port Forwarding or Ad Hoc VPN

ssh -i localkey -L local_port:localhost:remote_port user@ip I had to look this up again. I haven’t had to use this in a while, maybe five years? I also wanted multiple ports forwarded, and that works like ssh -i localkey -L local_port:localhost:remote_port -L local_port:localhost:remote_port user@ip And… jenkins host inside remote VPC: ssh -i catalyst -L 8080:localhost:18080 centos@bastion-host-ip…

Continue Reading

faillog and PAM…

I just spent a couple of hours discovering faillog integration into PAM… The original ticket was to reset a user password from the ubuntu root recovery session at the console. The ticket was old-ish. The server involved was DR (Disaster Recovery). No disaster, no urgency, therefore not a priority immediately. Once the password was reset,…

Continue Reading

Deleting a wireless password that is saved (OSX)

An across-the-board password change wreaks havoc with cached wireless passwords. I had no issue with a stock Macbook Air – I deleted the wireless network and then reconnected to the private locked network entering a username and password. My company Macbook wouldn't show or allow me to delete the network and therefore I couldn't delete…

Continue Reading

Juniper VPN on linux

  I am required to connect to a VPN, even internally. This means that using linux at work requires getting that VPN session to complete, on any version of linux I am going to productively use. I have used Crunchbang for the last four months, primarily because it connected to our Juniper VPN right out…

Continue Reading

Truecrypt and KeePass, encryption tools

  A couple of years ago I lost a USB stick with 4 GB of data. Included on that drive were financial files that included my Social Security number (#AAA-55-1234), birthdate, full name – easily enough to steal an identity. The USB stick re-appeared. I did some research on encryption. I settled on a 100MB…

Continue Reading