SSH for Top-SpeedConnectionsThe great thing about SSH is (Medical web site)
SSH for Top-SpeedConnectionsThe great thing about SSH is that you get all the secu- rity benefits, plus access to a GUI environment withspeeds that can t be matched by the other desktopsharing tools. SSH can compress the bits travelingover the network connection to improve perform- ance. The speed advantage is really evident if youhave a low-bandwidth or high-latency connection. Think of latencyas the distance between yourcomputer and the server that you re connectedto. If you re connected to a computer 10 feetaway from you, you probably have a low- latency connection. If you need to log in to acomputer in a foreign land over a satellite con- nection, all your data travels from your com- puter, up to the satellite, back down to earth, and then across the rest of the network: That s ahigh-latency connection. Setting Up Public-KeyAuthentication to Secure SSHWhen you log in to a typical personal computer, youprovide a password. The password authenticatesthat you are who you claim to be. Anyone who knowsyour password can fake out a server. Passwords aretypically very short and easy to remember; thosetwo qualities make passwords easy to use, but alsomake them incredibly insecure. Public-key authentication is an alternative to pass- word authentication. Public-key authentication isvery secure, and SSH also makes it convenient. Inpublic-key authentication, each key has two parts a public key and a private key. You always keep your private key a secret, but you share your publickey. The two keys are mathematically related in away that only Stephen Hawking can understand. Amessage encrypted with the public key can bedecrypted only with the private key. A messageencrypted with the private key can be decryptedonly with the public key. To authenticate a connection by using a public key, the server encrypts a message with your public keyand sends the result to your client. The SSH clientdecrypts the message using your private key andreencrypts it with the server s public key. In thisexchange, you ve proven you are who you say youare and verified that you re connected to the properserver. Public-key authentication is perfect for telecom- muters and those doing customer support workbecause it enables you to easily access comput- ers that you will log in to often. Just copy yourpublic key once, and you re ready to go. The public and private keys are stored in the ~/.sshdirectory. To set up key authentication with SSH, here s an overview of what you need to do: 1.Generate the key pair. 2.Give the SSH server a copy of your public key(but keep your private key to yourself). You can copy the public key to the server byusing a file transfer tool such as scp(securecp). 3.(Optional) Set up your passphrase so that youdon t have to enter it every time you log in. Your public/private key pair is generated from a whole mess of random numbers. It s veryunlikely that any two key pairs will be identical. A typical key is at least 128 characters long. Linux automatically contains everything youneed to use public-key authentication, so youdon t have to install any extra software. Yay! Generating the key pairTo generate your public/private key pair, followthese steps:
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.