- Even the @baconbaconsf has veggie options! Lunch @ the Sunnyvale office is always fun #
Twitter Posts from 2012-02-03
February 3rd, 2012 by FreshTwitter Posts from 2012-02-02
February 2nd, 2012 by Fresh- I'm at Taqueria Dos Amigos (838 Brannan, San Francisco) http://t.co/7YiWIEBm #
Rsync data from EC2 instance
January 31st, 2012 by FreshToday I had to move some data from an EC2 instance to a new system and wanted to do this via rsync. If you’re familiar with EC2, you know that there is a SSH key that is associated with each instance and you need to use this key to SSH to your EC2 instance. Passing a SSH key to your rsync command isn’t difficult -
rsync -avz -e “ssh -i key.pem” ec2-user@ipaddress:/www/* /www
But where I was having issues was with some of the remote directories not being accessible to the ec2-user. I kept receiving the following error when I was trying to pass sudo via rsync -
rsync -avz -e “ssh -i key.pem” –rsync-path=”sudo rsync” ec2-user@ipaddress:/www/* /www
sudo: sorry, you must have a tty to run sudo
The solution was to comment out ‘Defaults requiretty’ in the sudoers file. After commenting out that entry in the remote system’s sudoers file, I was able to rsync my directories without issue.
Twitter Posts from 2012-01-31
January 31st, 2012 by Fresh- Burrito….. (@ Dos PiƱas) http://t.co/ya4arM9P #
Twitter Posts from 2012-01-29
January 29th, 2012 by Fresh- Birthday dinners with lots of friends, both new and old (@ Le Cheval – LCX) http://t.co/icDQxywv #
Twitter Posts from 2012-01-28
January 28th, 2012 by Fresh- I just ousted David C. as the mayor of Elevation Salon on @foursquare! http://t.co/XqJtNwTu #
- I just unlocked the Level 2 "Herbivore" badge on @foursquare! In it to win it! http://t.co/nNo5QHY2 #
Twitter Posts from 2012-01-27
January 27th, 2012 by Fresh- Geeking out with fellow Mac nerds (@ Macworld | iWorld w/ 65 others) http://t.co/vGkobEij #
- Jobs http://t.co/U1EXD2ok #
Twitter Posts from 2012-01-26
January 26th, 2012 by Fresh- Veggie sushi!! (@ Fat Fish) http://t.co/lEpA3xEY #
Twitter Posts from 2012-01-25
January 25th, 2012 by Fresh- Noah's was closed this AM, do hitting up the building cafe (@ Louie's) http://t.co/FoLkGc3T #
Twitter Posts from 2012-01-21
January 21st, 2012 by Fresh- Section 119, row 12 (@ Oracle Arena for Indiana Pacers vs. Golden State Warriors w/ 135 others) [pic]: http://t.co/N1cJtnTN #










