When working remotely, one is known to sometime connect to a machine (within the vpn’d network) as a jump box. Unfortunately, it doesn’t seem to cache the ssh keys properly. Thus, they should be stopped and restarted: ps -ef |grep “[s]sh-agent -s” | awk ‘{print “kill ” $2}’ |sh eval ssh-agent -s ssh-add ~/.ssh/id_rsa Of…
Author: a blogger
Rotate photo based on metadata
There are times when it makes sense to rotate the photo, based on the extra information stored in the photo. The EXIF data contains this. To download the tool on a deb distro: sudo apt install exiftran Once installed, you can rotate one photo with: exiftran -ai Or to all files in a directory: for…
NFS cached hostname for decomissioned host
Upon performing a mksysb restore of a system, and booting it up noted an error regarding NFS. Jan 14 12:03:18 dcsvchefbld9 daemon:warn|warning statd[7078382]: statd: host host01.example.com is not responding If this happens, you should check the cached directories for the host entry at: /var/statmon/sm /var/statmon/sm.bak If a file exists with the name of the host…