I'm tailing a remote logfile by running this command in a local shell:
ssh remotemachine tail -100f /path/to/error_file
When I ctrl-c out of this command, it seems that the ctrl-c kills the local ssh process and leaves my tail running on the remote machine. I was under the impression that breaking the connection would send a hangup signal (since I am not using nohup) and kill the process, but that is clearly not the case.
Can anybody shed some more light on when hangup signals are sent and when they are not? Remote machine is Ubuntu, and my local shell is OS X bash if either of those make a difference.