I can't understand what is difference among tty, ttyS, pts and vcsa? Are they same? when we connect a serial cable to a server which hosts unix-like operating system, which ones of these type of terminals( If i call them correctly) will be activate ? Also, which one of these are related with my keyboard ?
tty - a native terminal, either kernel-emulated or hardware-implemented.
ttys - serial console
pty - Pseudo-terminal service, something emulated by a software like screen or ssh.
vcs, vcsa - virtual console memory. Explanation here.
Keyboard is usually with tty and/or pty, while a serial cable goes with ttyS