No, it is not a duplicate of that, because I want to assign one directory to one (or more) user, when they log in throught SSH.
For example, according to user's loggin :
userFoo
=> I want him to arrive/somewhere/here/
after SSH loginuserBar
=> I want him to arrive/somewhere/here/
after SSH loginuserOof
=> I want him to arrive/anywhere/
after SSH login- And so on.
How can I do that ?
(They are connection with PuTTY and I can't force them to connect with additionnal data like ssh -t user@server 'cd /home/some/dir ; exec "$SHELL"'