Tag Archives: ssh
/etc/init.d/autossh_tunnel.foo
Posted by on August 27, 2008
Autossh is a nice way to keep a ssh connection alive. This is especially useful when it comes to ssh tunnels. To make things even more automagicial I have now written the init script template autossh_tunnel.foo. A few import facts regarding the script: Autossh 1.4 or later is required. Earlier versions of autossh doesn’t handle [...]
Debian – Ubuntu, S/Key and OPIE
Posted by on May 31, 2008
Been looking for a simple way to enabling S/Key support in Linux. Once I found out the magical keyboards being OPIE and PAM it became almost trivial to allow ssh-logins using One Time Passwords (OTP). The following instructions are specifically written to apply on Debian and Ubuntu. On a general note the concept should work [...]
line_removal.pl (known_hosts)
Posted by on May 16, 2008
Manually removing entries from your known_hosts doesn’t take my of an effort. Still, it’s something you can grow tired of. Especially so after resent events (DSA-1571). That is why I’ve now written my very own line_removal.pl script. Basically you feed the script one or more line numbers. Corresponding lines in your ~/.ssh/known_hosts will then be [...]