Monday, 28 May 2012

Samba change password

To change your network password, use Samba:

smbpassword -r -U

NB:  There are spaces between the arguments and the values.

Tuesday, 22 May 2012

Delete remote branch

To delete a branch, you must remove it locally and remotely.

Locally:

git branch -d   (this ensures the branch is fully merged elsewhere)

or

git branch -D   (this deletes the branch regardless of its merged status)

To delete the remote branch, use:

git push origin : 



Agent admitted failure to sign using the key.

After creating a new SSH key I found I needed to run: ssh-add ~/.ssh/id_rsa before I could authenticate using the key.

How to find out your SSH Fingerprint

The SSH fingerprint it a hash of your ssh key.  You can use it as a superficial method of comparing two SSH keys to check that they are (very probably) the same.

The command is: ssh-keygen -lf ~/.ssh/id_rsa.pub