Skip to content

Tag Archives: SSH

SSH Public Key Login - You Know It SHOULD Work..


SSH public/private key login not working on your brand new web hosting account although everything is in place? Make sure ~/.ssh directory has 700 rights and the authorized_keys2 file inside it as 644 rights.

Tab Completion for ssh hosts


Put the following line in .bash_profile in ~. complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh (via

Screen Sharing via SSH With A Single Click


This tip uses AppleScript and shell script to create an AppleScript application that launches an ssh secured Screen Sharing (VNC client/server, introduced in OS X 10.5) to your remote machine. First, make sure you have Screen Sharing enabled (System Preferences -> Sharing -> Screen Sharing). Second, make sure you can use passwordless ssh login. Third, […]

Idle SSH Connection Drops? Fix with Keep-alive


One possible solution for dropping ssh connection is to create (or modify) a file name config in your .ssh directory (~/.ssh/config) on your local machine, adding a line ServerAliveInterval 60 This and plenty of other useful ssh keep-alive tips can be found on The Mad Philosopher's ssh keep-alive post. For some reason my ssh connections […]