In Linux, is it possible to use a local serial port? Something similar to this:
ssh user@localhost I tried this on Raspbian but it doesn't work (it should place in my shell but it doesn't):
microcom -d /dev/ttyAMA0 I also tried /dev/ttyS0 but to no avail.
I can of course access Raspberry Pi through serial console from another machine.
There is no specific use-case for this question - I just cannot understand how really serial works. If it's possible to connect to the localhost with ssh shouldn't it be also possible with sshserial port?