Using ssh in Terminal without entering password

August 29th, 2007 7 Comments »

When we log in to a server using ssh, we need to enter password every single time, which is getting tedious after several times. So how do we automate this proces; we’re using a computer after all.

ssh is capable of generating an encrypted file with an identification, and another file with a public key that is supposed to be on the server. After this is done, you can log in to the server where you put your public key, and the server does not prompt for a password. Continue reading »

Using ftp in Terminal without entering password

April 25th, 2007 1 Comment »

If you use the ftp-client in Terminal frequently, then it is probably to log in to the same server, entering the same username and the same password.
There has got to be a more clever way to log-in every time. Here is how – however, have in mind, it involves having the username and password in a plain text file in your home directory, although it is hidden. We will modify the rights so only the logged-in user can read and modify the file. Continue reading »