Skip to content

Instantly share code, notes, and snippets.

@florianbussmann
Last active July 16, 2023 18:08
Show Gist options
  • Save florianbussmann/f186b25c0dfe678eaf47469aa63564bf to your computer and use it in GitHub Desktop.
Save florianbussmann/f186b25c0dfe678eaf47469aa63564bf to your computer and use it in GitHub Desktop.
ssh_tcp_forwarding

e. g. for rclone config update on headless machine

requirements

In /etc/ssh/sshd_config set AllowTcpForwarding yes

systemctl restart sshd

forwarding

ssh -L 53682:127.0.0.1:53682 user@host -p -4 -g -N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment