I hereby claim:
- I am suominen on github.
- I am kimmos (https://keybase.io/kimmos) on keybase.
- I have a public key ASD5yFVCQl8FQTkmQDaGl5pepTA9ZfhXIRwB3oF5Wuzctwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
set -eu | |
listblocks() | |
{ | |
local i | |
for i in $(dig +short "${1}" txt) | |
do |
# | |
# For NetBSD 6: | |
# /usr/bin/tic -x -o ~/.terminfo.cdb screen.terminfo | |
# chmod go-w ~/.terminfo.cdb | |
# | |
# For ncurses 5: | |
# /usr/pkg/bin/tic -x screen.terminfo | |
# chmod -R go+rX ~/.terminfo | |
# | |
# With ncurses tic, only the first entry is needed as it will |
#!/bin/sh | |
# @(#)$KimmoSuominen: .cfg/home/dot.cron/download-netbsd-iso,v 1.10 2022/12/31 14:12:37 kim Exp $ | |
# | |
# Copyright (c) 2020-2022 Kimmo Suominen | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# |
#!/bin/sh | |
# | |
# Copyright (c) 2020 Kimmo Suominen | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright |
#!/bin/sh | |
# | |
# Harden sshd algorithms | |
# | |
# EdgeOS 2: | |
# Copy this file to /config/scripts/post-config.d/10-ssh-config | |
# and make sure it is executable (chmod a+rx). | |
# | |
# Auditing ssh servers: https://github.com/jtesta/ssh-audit/ | |
# |
--- | |
# | |
# Copyright (c) 2022 Kimmo Suominen | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright |
#!/bin/sh | |
# @(#)$KimmoSuominen: .cfg/home/bin/share/list-ssh-rsa-key-lengths,v 1.3 2023/03/05 20:24:14 kim Exp $ | |
# | |
# List host key information from ~/.ssh/known_hosts | |
# | |
# 20230225 Kimmo Suominen | |
# | |
# | |
# Copyright (c) 2023 Kimmo Suominen |
#!/bin/sh | |
# @(#)$KimmoSuominen: .cfg/home/bin/share/refresh-ssh-host-keys,v 1.2 2023/03/05 20:24:01 kim Exp $ | |
# | |
# Refresh a host's keys in ~/.ssh/known_hosts | |
# | |
# 20221122 Kimmo Suominen | |
# | |
# | |
# Copyright (c) 2022-2023 Kimmo Suominen |
#!/bin/sh | |
# | |
# Fix signed zones with excessively high TTLs | |
# | |
# 20230425 Kimmo Suominen | |
# | |
set -eu | |
PATH=/bin:/usr/bin |