Skip to content

Instantly share code, notes, and snippets.

@surajRathi
Created April 20, 2022 13:35
Show Gist options
  • Save surajRathi/41604fd6314c253633ca828335a35b09 to your computer and use it in GitHub Desktop.
Save surajRathi/41604fd6314c253633ca828335a35b09 to your computer and use it in GitHub Desktop.
USB Serial over ssh
#! /usr/bin/zsh
socat PTY,link=$HOME/myserialline,raw,echo=0 EXEC:'ssh suraj@rathi socat - /dev/ttyACM0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment