ssh -L1234:whateverimtryingtoreach.com:22 reiniershomeserver.com -p8080 -lalper -- replace ssh with plink when on windows. then, localhost:1234 is the same as whateverimtryingtoreach.com:22
He means that if you ssh to localhost on port 1234 it will get forwarded to the host you are effectively aiming to get to on port 22, i.e., the standard ssh port.
So, your apparent inability to write a one line script makes something useless -to you-? No, that just makes you useless. Don't whine if an easy solution is available but you couldn't be arsed to implement it!
I could put it in a script and throw it into ~/bin/ with all the other scripts I threw there and never looked at again, I guess.
You're right that this solves some stuff, but it doesn't solve the fundamental problems (closed ports, horrible SSH documentation).
17 comments so far
which ports are allowed? Just 80, or also e.g. 8080?
11 months, 4 weeks ago by rzwitserloot
Because our home internet has its SSH on port 8080. And SSH supports tunnelling... you see where this is going?
11 months, 4 weeks ago by rzwitserloot
Yeah, never can be bothered to set up that SSH tunelling shite. If it doesn't clear up in an hour, I'll just bail out and head for S4S.
11 months, 4 weeks ago by alper
ssh -L1234:whateverimtryingtoreach.com:22 reiniershomeserver.com -p8080 -lalper -- replace ssh with plink when on windows. then, localhost:1234 is the same as whateverimtryingtoreach.com:22
11 months, 4 weeks ago by rzwitserloot
No clue what you're saying.
11 months, 4 weeks ago by alper
reinier is showing you how to setup a SSH tunnel
11 months, 4 weeks ago by cbetta
I have that a lot with rzwitserloot ;-)
11 months, 4 weeks ago by beep
He means that if you ssh to localhost on port 1234 it will get forwarded to the host you are effectively aiming to get to on port 22, i.e., the standard ssh port.
11 months, 4 weeks ago by Itkovian
That's what you type in on your macbook's command line to make a tunnel. Just that one line. You can toss it into a script if that helps.
11 months, 4 weeks ago by rzwitserloot
Thanks @ltkovian but I can never remember this stuff and that makes it mostly useless to me.
Anyway, ports are cleared so all systems are go.
11 months, 4 weeks ago by alper
So, your apparent inability to write a one line script makes something useless -to you-? No, that just makes you useless. Don't whine if an easy solution is available but you couldn't be arsed to implement it!
11 months, 4 weeks ago by rzwitserloot
I could put it in a script and throw it into ~/bin/ with all the other scripts I threw there and never looked at again, I guess. You're right that this solves some stuff, but it doesn't solve the fundamental problems (closed ports, horrible SSH documentation).
11 months, 4 weeks ago by alper
That doesn't even make sense. So, you'd write up a script, and the next time you face this problem you would...
take it to jaiku again? Does everything need to be turned into a shiny over engineered UI for you?
11 months, 4 weeks ago by rzwitserloot
Yes. And human beings are not rational.
11 months, 4 weeks ago by alper
Can we like not insult each other.
11 months, 3 weeks ago by Itkovian
that would be rational (http://tinyurl.com/68wxyx)
11 months, 3 weeks ago by beep
Take me to your leader!
11 months, 3 weeks ago by rzwitserloot