Communicating with an I2C slave via SSH

  i2c, linux, python, raspberry-pi, ssh

I’m looking for some ideas how the following can be accomplished where the user is able to communicate with an I2C slave device using SSH on a custom port. The SSH server is running on Raspberry Pi, how will the bi-directional communication between the SSH server and I2C happen?

I don’t have any code to share yet as I’m not sure how to approach it.

Environment: Raspbian, Python, C++

enter image description here

Source: Python Questions