I have a Linux module. I need to receive messages via  SSH and transmit them using serial and vice versa.Basically I want a pipe or a gateway between a SSH and Serial device.Can anyone provide some guidance as to how it can be done. 
Serial/SSH Communication
linux;ssh;python