note that nohupping backgrounded jobs is typically used to avoid terminating them when logging off from a remote ssh session. a different issue that often arises in this situation is that ssh is refusing to log off ("hangs"), since it refuses to lose any data from/to the background job(s). this problem can also be overcome by redirecting all three i/o streams: