Tag Archives: ssh

Local port forwarding via ssh

This is one of those things that took too long to figure out. Problem: You need to accept incoming connections on a privileged port (<1024) and forward the connections to an unprivileged port. Solution: Set up a local ssh connection, … Continue reading

Posted in General | Tagged , , | 2 Comments

Port forwarding using netcat

netcat (nc) is a really useful, if obscure command for managing and listening on TCP sockets. I had a need to implement a local port forward on my machine. (more details coming).  I could use ssh to do this, but … Continue reading

Posted in General | Tagged , , , , , , | 2 Comments

Best remote backup solution for Linux?

I’m running my own hand-crafted remote backup (rsync++) script to back up data from one machine to another.  But, it has some serious drawbacks, and I’m still looking for something better.  Here are my requirements: Runs on Ubuntu Is either: … Continue reading

Posted in General | Tagged , , , , , | 3 Comments

git error “unable to write sha1 filename … Permission denied”

I was having the following issue while doing a “git push”: $ git push Counting objects: 50, done. Compressing objects: 100% (33/33), done. Writing objects: 100% (36/36), 4.42 KiB, done. Total 36 (delta 13), reused 0 (delta 0) error: unable … Continue reading

Posted in General | Tagged , , , | 2 Comments