ssh works

- token independant from dir for the first-time match
- set dir in mpdir[reply]
- fix preestablished behaviour