Raspbian – SSH Keys

Very important note: once you get access to your Pi, do regenerate the SSH keys.
Since Raspbian (and basically all the other distributions) are distributed as prepared images to copy onto the SD card, it is not safe to keep the default SSH keys.
To regenerate the keys proceed as follows:

# sudo rm /etc/ssh/ssh_host_*
# sudo dpkg-reconfigure openssh-server

Source: http://www.slblabs.com/2012/08/16/rpi-ssh-ip/

Raspbian – Updating & Upgrading

Updating and Upgrading Debian Raspbian “wheezy” Linux Distribution

Before you begin to install any software it’s best to make sure the package index files are up-to-date (essentially just a file pointing to the latest version of compatible software – for example when we install VNC later in the guide). Make sure you have an internet connection and run the following command. It may take a few minutes.

sudo apt-get update

Followed by:

sudo apt-get upgrade

Now’s also a good time to make sure the whole Linux distribution is up-to-date. You can do this now, or later (it may take a while). Again make sure you have an internet connection and run:

sudo apt-get dist-upgrade

You can run these commands every now and again to make sure you have the latest software. If you’re asked to confirm anything, just hit ‘y’ on the keyboard.


Source: http://www.neil-black.co.uk/raspberry-pi-beginners-guide#.US1NQTC9t8F

How to move Win7 Offline Files

Source: http://superuser.com/questions/19847/how-to-move-offline-files-cache-in-windows-7

I’ve found the following to work well. I would advise to create a restore point prior to doing the following.

  1. Create a folder for your offline file cache. Something like D:\Offline.
  2. From an elevated command prompt type the following: Takeown /r /f C:\Windows\CSC
  3. Open the Sync Center and go to Manage Offline Files.
  4. Click Disable Offline Files and restart the machine.
  5. From an elevated command prompt issue the following commands.
    1. rd /s C:\Windows\CSC
    2. mklink /J C:\Windows\CSC “D:\Offline” (or whatever you folder name is, but be sure to use the quotations if you have a space in the name)
  6. Reopen the Manage Offline Files window and Enable Offline Files.
  7. Restart the machine

All files/folders that are made available offline should now be redirected to whichever folder you specified.