In the documentation of ssh_cm:listen it says that pwdfun shall return true | false. Actually it should be true | {true, Handle} | {false, String} /Anders