Skip to content

Tag Archives: ssh

Linux - Securely redirecting console to virtual terminal for logging

16-Oct-08

I want to be able to log a ssh session to a unused virtual terminal (/dev/ttyX) so that I can leave something running yet not allow any intrusion into the ssh session by unauthorized users at the keyboard. This is what I ended up doing:

Give user write access to /dev/tty devices.
Install screen and script.
Run screen [...]