SSH

Secure Shell, of course. Besides the obvious OpenSSH link, this page will hold some of the less obvious (and more useful) stuff:

Resources:

Essentials:

  • DenyHosts – block script kiddies and other pests from trying to do dictionary-based attacks on your server (on the internet, nobody knows that you only use key-based authentication – not even morons).

HOWTOs:

Tools:

Clients:

Libraries:

Useful tricks:

Automatic session forwarding

If you routinely need to access a host behind another (or a VM inside a host), this is a relatively painless way to do so (won’t allow you to do SFTP, though, since that’s a different subsystem):

cat ~/.ssh/authorized_keys | grep command
command="ssh user@host" ...rest of key

Keepalives

Using the built-in keepalive feature to maintain tunnels with a TCP keepalive and a 30s internal (in-band) client active check (will try 10 times before disconnecting):

KeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 10

Speeding up connections to the same host (thanks to Melo):

$ head -3 ~/.ssh/config
Host *
  ControlMaster auto
  ControlPath /tmp/501/mux-%h-%p-%r

(on my machine the socket file is in 502 – more similar tips here)


See Also

Roll Your Own Pocket ServerAn ARM On Four CylindersAndroidPython
The Switcher's Application GuideHow to Switch to the MacJavatmux
Spring cleaning, and deploying SPDYVirtual Network Computing (VNC)On Coda 2Sidestep
SubversionScoring 2011's predictionsCygwinVirtualBox
Bonjour a la LuneiTerm2Land of the FreeDamn Small Linux
Xcode and Expandrive/git WorkaroundBad SenseJedi Mind Tricks2011 is upon us
Housekeeping3 million and then someToday In The Geek PlaneChipping Away
TransmitIntroducing Prompt. Nice (but incomplete) SSH for iOS (with Control key support!).Minor AdjustmentsHOWTO
SSHKeychainNetbooks, revisited but still found lackingFor Future ReferenceLeopard
TouchTermWindows Fundamentals for Legacy PCsSSH tunneling setup scriptsSo here's an idea or two
DAAPiDiskOn Yaki and Google App Engineduplicity
DockdropSSHExpanDriveHOWTO Process Images With AppleScript and jhead
Leopard Archive and InstalllighttpdThe Flow Of MercurialThe Beat Goes On, The Hype Skyrockets
My Five Wishes for LeopardSSHKeychain 0.8PuTTY for Symbian OS - Snapshots and Unofficial BuildsSeries 60
Wiki Migration Notes - Platform SelectionMacFusionFusedThe Minimalist Remote Access Kit
On CodaHow To Run vmware-console Remotely With Apple's X11FuguThe StealthBook
The Sharper EdgeTrips Down Memory LaneNXPedro Melo
BacklogMac OS XScalpOn Mark's un-Switching, and Lemmings
The Razor-Thin Mobile ComputerCLISide-SwitchingFive Travel Aids
Notes:A Hat Full of SSHRAQ550/Packages/OpenSSHDeck The Halls
10.4.4, Come On Down!Nokia 770 WishesRandom Xcode ThoughtsAlmostVPN
Going NomadAnd Now, For Something Completely DifferentSOCKSWasted Evening
Dances With SlugsMail.app 0.2Tiger Teasersunison
Week's EndTerminal.app is not your grandfather's VT100 terminalRAM is Crucial, IndeedSSH Agent
3G On Your MacCursory NotesBehold, the MonolithSSH Tunnel Manager
Telecommuting, Mac styleMini MadnessStuff You May Have MissedHOWTO: Get Windows Remote Desktop Client To Connect To localhost
Java/MIDP/MidpSSHBurst ModeDumb IdeasIntensive Resting
Backup DayThe Joy of Service Pack 2KittydottedDisplayWatcher
Today Has Got To Be A Wierd DayOdds and EndsLinux/shfsJava/MIDP/Mobile SSH
Things You Should TryThe Usability WarsSeries 60/Software/s2puttyWindows/Applications/TortoiseCVS
The Mouse, Done RightPalm/Software/psshNotes on Random ExaustionPocket PC/Pocket PuTTY
Nothing To ReportHOWTO: Block Spam Referrers in PHPEOWBSD
Dancing With RendezvousThe News, Always The NewsAnd Right Off The Bat...Qube
Mac OS X 10.2.8New SSH Bug ScareOpie 1.0Palm/Software/TuSSH
Useless links of the day:CyberduckSSL VPNsQuickies
Michael Swaine at O'ReillyZen By Any Other NamePraise the MacHighlights do dia: