808 reputation
31324
bio website scribblepadofdoom.tumblr.com
location Singapore
age 29
visits member for 4 years
seen Dec 16 at 6:47

I'm the CTO at Media Pop a software and social media consultancy in Singapore. We care about what we do, work hard and do fun things. If you know Python and want a job ping me at kit@mediapop.co. :)

Likes

profile for Kit Sunde on Stack Exchange, a network of free, community-driven Q&A sites


Nov
26
awarded  Notable Question
Oct
18
awarded  Popular Question
Aug
21
awarded  Popular Question
Aug
5
awarded  Notable Question
Jul
30
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
Oh I wasn't expecting that, this most certainly would answer my question.
Jul
30
accepted How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
Jul
16
revised What are the differences between runit and supervisord?
edited title
Jul
16
asked What are the differences between runit and supervisord?
Jul
15
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
@ByteNudger ssh is the client for sshd as I understand it. sshd is the application on the server that would do the actual binding.
Jun
25
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
@Christian Right so setting up a second tunnel from 80 -> 8000 on the remote machine is how I've worked around the inability to do it directly from remote 80 on the unprivileged ubuntu user (since I can't seem to root ubuntu when making the connection) to local 80. However it should be possible to use setcap and allow an unprivileged user to bind on <1024 on a specific, so then the second loopback tunnel on the remote from 80 -> 8000 wouldn't be necessary. I have the whole thing setup on my end with what you are suggesting, that's a non-issue. :)
Jun
25
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
@Christian I'm not sure if it's possible to run the equivalent of $ ssh ubuntu@example.org -R 80:localhost:80 in a way where it would run as superuser on the remote (without connecting to a user that is always rooted in any event), since the command is executing on my local machine, but one of the bindings is happening on the remote. Running it as root on my local machine doesn't solve the issue where the remote doesn't want me to bind to 80. I'd welcome a solution to that though.
Jun
25
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
@Christian You can't bind on <1024 without sudo by design. Like how you cannot apt-get install foo without first doing sudo.
Jun
24
comment How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
@Gilles I'm using ext4, it's the default Ubuntu image off AWS and I haven't done anything fancy with it.
Jun
23
revised How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
edited tags
Jun
23
awarded  Critic
Jun
23
accepted How can I check if mysql is installed using a bash script?
Jun
23
asked How can I set up a remote port forward on port 80 to my localhost with the help of setcap?
Jun
21
awarded  Nice Question
Jun
14
awarded  Nice Question
May
31
awarded  Nice Question