758 reputation
31022
bio website scribblepadofdoom.tumblr.com
location Singapore
age 29
visits member for 3 years, 7 months
seen 2 days ago

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


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
May
26
comment How can I check if mysql is installed using a bash script?
@kopischke I expected which mysql to give back the path to mysql that then is checked if it's a file or not. But it seems to just not work.
May
26
revised How can I check if mysql is installed using a bash script?
deleted 6 characters in body
May
26
asked How can I check if mysql is installed using a bash script?
Apr
26
awarded  Notable Question
Apr
17
comment How can I resolve the “invalid ELF header” warning when trying to SSH and what does it mean?
OH, how very PEBKAC of me. :)
Apr
17
accepted How can I resolve the “invalid ELF header” warning when trying to SSH and what does it mean?
Apr
17
asked How can I resolve the “invalid ELF header” warning when trying to SSH and what does it mean?