diff --git a/.functions b/.functions index 5c812c8..5d465ce 100644 --- a/.functions +++ b/.functions @@ -7,3 +7,7 @@ function g { } compdef g=git +function port-forward { + ssh $1 -R $2":localhost:"$2 -g; +} + diff --git a/README b/README index 1807ed6..9a4e4cc 100644 --- a/README +++ b/README @@ -11,3 +11,11 @@ source .zshrc :BundleInstall inside of vim mux work + +Remote Server: +edit /etc/ssh/sshd_config +``` +PermitTunnel yes +GatewayPorts yes +``` +