Plan 9 from Bell Labs’s /usr/web/sources/plan9/rc/bin/ssh
#!/bin/rc # ssh host arg... - invoke ssh v1. if it fails, try v2. if (! /$cputype/bin/ssh1 $* >[2]/dev/null) exec /$cputype/bin/ssh2 $*