Skip to content

Instantly share code, notes, and snippets.

@costasko
Created September 7, 2021 11:35
Show Gist options
  • Save costasko/a2ca36a405e2b0f7684a7159648ff5ff to your computer and use it in GitHub Desktop.
Save costasko/a2ca36a405e2b0f7684a7159648ff5ff to your computer and use it in GitHub Desktop.
Podman MacOS filesystem reverse sshfs
ssh -R 65022:localhost:22 core@localhost -t -i ~/.ssh/podman-machine-default -p 57587 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "mkdir -p /var/home/core/hmount/ && sshfs $USER@localhost:/Users/$USER /var/home/core/hmount/ -p 65022"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment