What does > /dev/null 2>&1 mean?

I came across this recently in a script, so I searched for it to gain an understanding of what it means.

Here’s what I found:



SSH on Debian: Allow public key access only – no passwords

Make sure the following three lines are set to “no”. They may be in various locations throughout the file:

Then restart the service:

I learned this at http://www.howtoforge.com/set-up-ssh-with-public-key-authentication-debian-etch