> chmod 711 /home> chmod 700 /home/.ssh> chmod 600 /home/.ssh/*
Friday, January 09, 2009
ssh login and key file permissions
If your key files are not being used when trying to ssh into a server, set the following permissions on your server account:
Easy git documentation install
I constantly forget where to get the latest git docs from.xmlblog gist'd a simple function that does the work for you.
Tuesday, January 06, 2009
How to recursively list the total size of select files in a linux directory
The command below will list the total size of all jpg's in the foo directory.
$foo> find . -name *.jpg | xargs du -hc
Subscribe to:
Posts (Atom)