Re: setmaps: clear_maps TCSMAP: A specified file does not support the ioctl system call.
The error message you are getting has nothing to do with your command.
The server issues the error when starting a session, before WinSCP even tries to execute the command.
The server is misconfigured somehow. Can you connect to the server using any SSH client? E.g. using PuTTY? If you can use PuTTY with the default configuration, does it work even if you turn on "Don't allocate a pseudo-terminal"?
Thanks for your reply.
I am able to connect using Putty but then I am not able to connect when I turn on "Don't allocate a pseudo-terminal".
What should I understand from this, that the issue is that my session does not have a pseudo-termnial assigned?