I pulled many hairs tongiht and searched for answer, and finally I found that a little change of the shell in the passwd file did it. Instead of /bin/switch I wrote /bin/sh. I connect to a Windows OpenSSH.
The switch script file tries to solve some stuff, but I couldnt get scp or sftp to work even with many clients and settings. Now finally it works, and I can rest peacefully tonight...