Skip to main content
added 6 characters in body
Source Link
user1042840
  • 849
  • 1
  • 7
  • 19

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?

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 ssh?

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 serial port?

Source Link
user1042840
  • 849
  • 1
  • 7
  • 19

How can I use local (loopback) serial port?

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 ssh?