SSH login through UART5

Hello, everyone!

My question is: “Is it possible to perform a SSH connection through UART5?”.

If yes, how to do it?

Thanks!

I’m not sure why you want to do this, but you’ll have a much better time using SSH over ethernet.

I would think the path forward involves:

1.) Getting a TCP stack running over serial instead of Ethernet.
2.) Telling sshd to use your serial-tcp-stack.

Maybe start with this: https://stackoverflow.com/questions/19941357/tcp-ip-over-serial-port

I imagine it’s going to be a lot of hacking together things, but if you can get TCP/IP over serial than you might have some luck.

The other thing that comes to mind is that serial is a point-to-point link, so why not just screen (open normal tty) to bring up a terminal? If you trust the connecting computer and you can physically see the wires connecting to the BBB, I think there is a low chance that your serial comms will be intercepted.

Good luck.

On Wed, 25 Nov 2015 07:13:19 -0800 (PST), Joshua Datko
<jbdatko@gmail.com> declaimed the following:

I'm not sure why you want to do this, but you'll have a much better time
using SSH over ethernet.

I would think the path forward involves:

1.) Getting a TCP stack running over serial instead of Ethernet.
2.) Telling sshd to use your serial-tcp-stack.

Maybe start with this:
https://stackoverflow.com/questions/19941357/tcp-ip-over-serial-port

I imagine it's going to be a lot of hacking together things, but if you can
get TCP/IP over serial than you might have some luck.

  Would SLIRP still be a viable path?

why not just use screen?