Showing posts with label Activities. Show all posts
Showing posts with label Activities. Show all posts

Debugging SSH Digest Login.

I recently when through some issue trying to find out why my SSH digest login did not work. I would like to share this experience. (Assuming that you have root access.)

Before we start off, there are generally 2 kind of ssh daemon, those based on openSSH and based on ssh.com. The difference is in the way these 2 differentiate the public key and the private key.
Hence it is important to know which is which to prevent a headache in troubleshooting it.
(You can use puttygen to find out the difference. Basically they are the same except for the formating.)

I normally use a mixture of putty and Ubuntu ssh (aka openssh ) to navigate around my work servers and my home servers. So I am pretty comfortable with both. To start off, check your sshd.config which is located in /etc/ssh/ in ubuntu. Turn the log level to debug or verbose. If you do not know, do a man on the sshd. It should tell you what sort of values you can put. Then restart your sshd daemon. Otherwise restart your server.

On your own server execute the ssh-keygen and generate your private and public key. Then cat the which is offen in the file of id_rsa.pub into the authorized_keys files within the .ssh directory.
Assuming everything is correct, you can ssh localhost and bypass the login prompt. If it cannot then execute ssh -v localhost to show more information. Still cannot, ssh -vvv localhost. Using the -v, -vv or -vvv options will throw out information with regards to the key exchange between the ssh client and ssh server. From there you will find it easier to debug your ssh digest login failure.

Common Problem:
Usually it is due to permission issue that caused the login to fail. The permission on the home folder also plays a part not just the .ssh directory. It needs to be at least a drwxr-xr-x for the ssh transaction to be successful.

Drop me comments if you want more details.

Changes.

It been a while since I put any entries or even try to put in any character in this space of mine. Since, I was awake at 4:40am in the morning and I still have a few more hours to go before needing to go to work, I decided that now is a good time to write something.

Since early this year, things has started to change. My darling wife has decided to call it quits after teaching for close to 15 years. Me, if she quits how can I? So she decided that to try to become a sales person. Selling properties. Hence if you are in need of a property agent, let me know.

So I am where I am and was loving it until yesterday. I went to the my client place for a meeting. The meeting was successful and things go well. Jobs was assigned to the correct party. I even had lunch with them and things was well. But then after I came back to office and boss tell me this, "Please get the SQP ready by Monday."

WTF?!!!

The Pen is mightier than the sword no doubt, but ultimately, you still need the sword to do the work. In Office context, although the manager is important (especially a good manager), you still need to the employee or subordinate to get the work done. A manager is only as good as his team. Doing is my forte. Getting things done and not writing report is what I do best. Should I learn to like it? Writing report that is. Is this the only to move up?

What have I agree to?

What up with my personal life? Well after moving in, it was a few months of packing and unpacking, customizing out furniture. I had an sudden interest in making my house green.

I had a Rosemary plant and a Citronella on my service balcony. I am also trying out to compost my used tea leaves. I like moss alot. My place is also now a host to 2 species of carnivorous plants, namely the Venus Fly Trap and the Pitcher Plant.
Not been blogging for a while. Part of it is due to being busy. Busy with? Renovation, new toy and then of course work and tiredness.

I seems to be playing middleman now a days pretty offend. Not to long ago, I help my friend obtain a position in my company. Now I am helping to broker another position for a friend of mine. Both are friends.

Which bring me to another topic:-
What do you do if the boss wants to hire but is not too keen on sending the job description?

When one is hiring, there will probably be a position to fill. That position will have certain set of responsibilities and that will require a certain skill set. That skill set will be the job description.

What happen if there is none? Does this mean, you will need to handle everything? Without this, there is no security. Like a "garunguni man" you will be deployed to where there is is shit and need people to clear. How do you feel? What will you do?

Hao Xin Ren

www.haoxinren.info. I got the domain back.

HSBC Tree top Walk - Bridge


This is the one and the only tree top walking experience in Singapore. When you are on the bridge, you will see the Lower Pierce resevoir to the north. To the south you will see Mcritchite itself.

The canopy is yours to see on this bridge. Not that there is much in that span of a 200m or less.

PS: It is grill you will be stepping on. You will be able to see all the way down to the forest floor. If you are afraid of heights, don't look down.
Posted by Picasa

Freedom and the Internet

Previously, internet was confine to the length of the CAT5 cable. But in recent years, that has change to the radius of your home WIFI router. So that I can now blog in the openness of the void deck facing the gardens.

Now is that call freedom or what!

Now that that has happen, I would wish some one should come up with a notebook screeen shield to block out the direct sunlight when using the laptop in the open. The screen look like an under powered pieces of glass. The back lighting is almost non existent.

The feeling is great.

Roller Blade.

Roller Blading is a good sports. That is the other only sport that I have been involve in since the days of canoing.

I bought a pair of blades and well after about 6 hours of blading session over a span of say 3 months. I might say, I know how to blade and can be consider a novice.

Yeah!