Ssh apps
I setup an ssh kiosk in open access like a webpage, the password is empty and there are no keys.
ssh kiosk@apps.noulin.net
yes
When you connect to it, you see a menu and you can start my TUIs.
Close the apps by pressing
escorqmultiple times
Setting up sshd
- Create a user kiosk and set any password:
adduser kiosk
- Change password to set it empty:
printf '%s\n' 'kiosk:U6aMy0wojraho' | chpasswd -e
- Configure sshd:
vi /etc/ssh/sshd_config
Match User kiosk
PasswordAuthentication yes
PermitEmptyPasswords yes
ForceCommand /home/kiosk/tcalc
X11Forwarding no
AllowTcpForwarding no
- Restart sshd
service sshd restart
adduser and passwd don't accept empty password, passwd -d disables the password and it is not possible to login. That's why I use printf and chpasswd to set an empty password.
#ssh #tui