diff --git a/.bashrc b/.bashrc index d8b4878f054d004d5c03312ce0f64bd8d223a5b6..71a32ac4ed9e3f708bf124bf40baee58fba11ceb 100644 --- a/.bashrc +++ b/.bashrc @@ -100,6 +100,7 @@ alias toupper='awk "{print toupper(\$0)}"' alias wifi-portal='curl --silent --fail --write-out "%{redirect_url}" --output /dev/null http://detectportal.firefox.com/success.txt' alias urlencode='perl -MURI::Escape -ne "chomp;print uri_escape(\$_), \"\n\""' alias urldecode='perl -MURI::Escape -ne "chomp;print uri_unescape(\$_), \"\n\""' +alias transmission-remote='ssh -fNo ExitOnForwardFailure=yes xbmc.shore.co.il && transmission-remote' deduce_aws_region () { AWS_DEFAULT_REGION="$(curl --silent \ diff --git a/.ssh/config.d/20_shore b/.ssh/config.d/20_shore index 26791d7bbe20f1694917c4f576004f1ba2103abe..dd0003c47887232ce0893f7e26ae66125dc63d20 100644 --- a/.ssh/config.d/20_shore +++ b/.ssh/config.d/20_shore @@ -1,11 +1,11 @@ # shore.co.il infrastructure Host ns1.shore.co.il www.shore.co.il -LocalForward 9091 xbmc.shore.co.il:9091 DynamicForward 8080 Host xbmc.shore.co.il ForwardX11 yes +LocalForward 9091 localhost:9091 ProxyCommand ssh ns1.shore.co.il -W %h:%p Host ns2.shore.co.il