Hacker News new | ask | show | jobs
by lynx23 696 days ago
Related: Does anyone by chance know how to configure an "anonymous" ssh account that always runs the same program? This would be great for making text mode games available to everyone without needing to support different platforms, now that windows actually ships with ssh.
3 comments

Wouldn't it be possible to just change the shell via 'chsh' or editing /etc/passwd to point to the text mode game for a particular user
THats the theory. However, AIUI, you need a machine that only does this single application. Because if you have a user without password, that can be an issue for many other services. SMTP for instance.
customize https://github.com/gliderlabs/ssh

I use it for funky.nondeterministic.computer

Thanks for the link! However, I will not touch the Google programming language.
your loss. fwiw, It's not run by Google any more
Still tainted :-) Everything that Google touches is tainted.
lol
you can configure sshd to run any random executable when a user connects