SSH Requiring A Password

If you have gone through the process of sharing keys on various machines, but ssh is still asking for a password, I have the answer. After much pain, agony, wailing, and gnashing of teeth, I have found the elusive yet surprisingly simple answer. Change to your home directory, then issue the command

ls -ld . (that’d be ell ess space minus ell dee space dot for those who really shouldn’t be typing on a unix box)

If your directory does not come back as drwxr-xr-x (or 755 to those of us in the know), this is probably why your password is being requested. Change your home directory to 755 and try again. Happy?

This just in – your .ssh directory must be drwx- – – – – – (or 700) as well as the above info.  (My directory listing isn’t printing correctly – so I’ll write it out – drwx followed by 6 dashes.)

A “Sudo” Tip

I got this from a co-worker who pointed me to a website. Thanks go to Peter Leung who posted this originally at http://linuxcommando.blogspot.com/2007/11/sudo-hacks-making-cd-and-redirection.html.

sudo hacks: making cd and redirection work

[Read more →]

One of my jobs

OK – you’re probably wondering about my many jobs. How many, you ask? How about three! The first one that I’ll bring up here is my position as Adjunct Professor at Arapahoe Community College. Fancy, eh? I’m currently only teaching one subject, but that may change. I guess it depends on the department chair and my schedule. My class is in session at the moment, and I have six students that I am teaching.

Oh, yeah, I’m teaching “Intro To Shell Programming” which is an introductory class to writing scripts (programs) that run in a Unix environment.