When a dog jumps on a human of its own free will, it is not "greeting" the human, it is asserting its dominance over the human; it is the dog communicating that it is alpha and/or wishes to own/control the human. A subordinate would never dream of running over and jumping on the alpha dog of the pack. Space is respect and lower members of the pack respect the higher members. If your dog jumps on humans, it does not respect them. Note: when a young puppy jumps on humans it is sometimes its attempt to reach one's face. Puppies need to be taught not to jump up on humans as this behavior will manifest into other meanings as the puppy grows up into an adult dog.
1. To assert dominance. Whether it's jumping on people or jumping on furniture, both instances illustrate a dog that wants to raise his station in life. By jumping on you or jumping on the couch, he's saying that he's the pack leader--something that you DON'T want to happen, as a dominant dog is much more difficult to train (and can become quite aggressive). In either case, you'll definitely want to institute the proper alpha dog training techniques, if you haven't already.
A relatively new invention that will definitely solve this problem is the no jump harness. It works by restricting the movement of the dog’s hind legs so that it can’t jump at all. This should not be a permanent solution but rather something that can be effectively used during training. It should not only stop them from jumping chain link fences, but also from jumping on people and furniture.
Make sure other family members and visitors understand this command, as well. It is crucial that your dog understand that all family and visitors are above his rank in the pack. Otherwise, he will lash out and try to assert himself on everyone. While using the Off command may not be appreciated by most visitors, but it is more important that a dog has a good greeting manner with all people. A little effort on everyone's side makes your dog disciplined and docile.
If a dog is stressed or afraid, their demeanor and typical behaviors will change. If you see this in your dog (or really any dog you know) you should step back and check on your dog. Are they hurt? Did a new dog come around they don’t know? Has the weather changed? Is it hot outside? When was the last time they had a chance to go outside to pee or poop?
For pups that ambush you and bite your rear end while playing outside, hide a toy or two in the backyard and ask them to find the toy. Bad weather can give puppies cabin fever when they don’t have adequate time outside to run off the energy. Mental stimulation can wear them out, too. Show your puppy a favorite toy and then roll it up inside an old towel and knot it to make a puzzle. Encourage the pup to unravel and get the toy. You can even tie the first toy-in-the-towel inside a second one for more of a challenge to relieve boredom.
3. Because they have been rewarded for this behavior in the past, whether purposely or unknowingly. Some owners may, at one point or another, allowed the dog to jump on them or on their furniture, welcoming their dog's enthusiasm to see them. Other owners inadvertently reward their dogs jumping, simply by doing something good--such as walking or feeding the dog--right after the dog has jumped. Even if they told off the dog for jumping, by providing the dog with a walk or with food, they make the dog connect these positive actions, with a not-so-positive action: jumping! The dog sees thing in a very simple, linear fashion: if he jumps, he'll get to go for a walk--or even better, he'll get fed!
Puppies should be told from day one, "no jumping." Anything you do not wish your cute little puppy to do when it is full-grown should not be allowed when it is a puppy. Think about the behaviors you allow your puppy to do; is it something you will always allow him to do even when he is full-grown? If the answer is no, do not allow your puppy to do it from day one.