background preloader

Rogerfleig

Facebook Twitter

Roger Fleig

SSH login without password. Your aim You want to use Linux and OpenSSH to automate your tasks.

SSH login without password

Therefore you need an automatic login from host A / user a to Host B / user b. You don't want to enter any passwords, because you want to call ssh from a within a shell script. How to do it First log in on A as user a and generate a pair of authentication keys. A@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Now use ssh to create a directory ~/.ssh as user b on B. A@A:~> ssh b@B mkdir -p .ssh b@B's password: Finally append a's new public key to b@B:.ssh/authorized_keys and enter b's password one last time: a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys' b@B's password: From now on you can log into B as b from A as a without password: a@A:~> ssh b@B A note from one of our readers: Depending on your version of SSH you might also have to do the following changes: Put the public key in .ssh/authorized_keys2Change the permissions of .ssh to 700Change the permissions of .ssh/authorized_keys2 to 640.

Teak Care by Don Casey. Teak Care By Don Casey Revised by BoatUS editors in April 2012 In clean air untreated teak weathers to an attractive ash gray, but where most boats live, the assault of modern-day air pollutants quickly turns bare teak nearly black.

Teak Care by Don Casey

Scrubbing tends to leave behind an unattractive mottled look, neither golden nor gray. Most boatowners eventually find themselves unhappy with either look and decide that some treatment is essential. Paint provides the longest lasting protection but it hides the wood. Cleaning Before teak can be given any coating, it must be completely clean. If the teak is still dark or stained when it dries, a cleaner with oxalic acid is required. Two-part teak cleaners are dramatically effective at restoring the color to soiled, stained, and neglected teak, but these formulations contain a strong acid--usually hydrochloric--and should only be used when gentler cleaning methods have failed. Oil Oiling teak on boats is a time-honored tradition. Oiling requires multiple coats.

Teak Wood Restoration. Teakwood furniture is some of the most beautiful vintage types of furniture collectors and aesthetically-inclined homeowners can find.

Teak Wood Restoration

These trees from southern Asia can grow as high as 40 meters tall and offer sturdy, durable wood that can be easily worked into finely crafted pieces. Teakwood furniture enjoyed its peak popularity during the 1950's decade but recently has undergone its second boom among the younger generation. By nature, teakwood is resistant to termites and water damage. However, over time the teakwood can be affected by age, sun damage, extreme temperatures and other factors that will dull the original color.

You can find a teakwood care restoration specialist or provide the teakwood care yourself. Lessons In Teakwood Care First, begin by washing the teak piece with little soap and water. After sanding, and after a significant color change, use a dry cloth to wipe away any residue from the wood. MAKE. DIY projects, how-tos, and inspiration from the workshops and minds of geeks, makers, and hackers @ the Make: Magazine blog. Help.