As part of a sort of esoteric hack I'm putting together, I've modified my /etc/passwd and /etc/shadow files to result in a user called  (Niet) with a shell pointing to a custom script I have written.This all works great, and I can do:ssh @localhostEnter the password, log in, and I get the output of my custom script (currently just Hello, World!, wait five seconds, then disconnect).It works beautifully!There's only one problem. I can't seem to SSH in directly from tools like PuTTY. In fact, the only way I've been able to connect is by SSHing in to my normal user, then doing the ssh to localhost as above.I have tried putting @example.com in the hostname field and similarly in the autologin username option, but both result in trying to log in as ???? which obviously fails. This is in spite of ensuring the character encoding is set to UTF-8.Similarly, I've tried not using auto-login, but... well...login as: @example.com's password:Access deniedNot quite what I'm after.I am well aware that what I have done with this username is a complete hack and I should probably be hit with a brick for it. But it does work, I just seem to be having a problem with my computer's PuTTY communicating with the server, since the server is perfectly able to communicate with itself.Am I missing an option or something to make this work?
Non-standard logins
ssh;character encoding;putty