Have you tried compiling your own jhead? Thats the only way I know to get things to work so compile your own copy and use that and you should be fine. The hosts is most likely not working. Make sure to download the source and compile your own. This does require ssh access to the server
http://www.sentex.net/~mwandel/jhead/