SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Public Key Authentication
https://scotch.io/tutorials/how-to-setup-ssh-public-key-authentication
John Simpson has a nice set of detailed instructions for setting this up as well.
Server Setup
On the machine you want to connect to, make sure the necessary SSH directory and key files are in the home directory of the user you are going to connect to the server as:
mkdir -m 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keysClient
On the client, the machine you will be connecting to a server from, create public and private keys. If you want to use the key for automated tasks leave it empty, otherwise supply a pasphrase when prompted.
ssh-keygen -t rsaPossible configuration options:
-b <ebits>- default is 2048, sufficient for most needs-C <comment>- add comment to the key
The public key ~/.ssh/ir_dsa.pub needs to be copied to the server that you are going to connect to:
cat ~/.ssh/id_rsa.pub | ssh <username>@<server> "cat >> ~/.ssh/authorized_keys"Then you should be able to connect to the server without entering a password:
ssh <username>@<server>SSH Shortcuts
Edit ~/.ssh/config and add an entry for a server:
Host servername
HostName www.servername.com
User username
#Port 22You can now connect using the shortcut:
ssh servernameTechnology:
- Log in to post comments