In Photoshop, you can use Image > Adjustments > Match Color... then choose the image you want to match as the source. This is handy for product shots done under pretty similar circumstances. However, if you are looking at landscapes shot under different lighting conditions, you'll probably have to mess with the sliders in the Match Color dialog to get to a good starting point.
After that, tweaking the color is, as was pointed out before, best done using Curves (in an adjustment layer).
Be sure not to overwrite your original, as Match Color is a destructive edit!
Examples:
Before

After

This was done with Match Color and a color intensity of 84 -- so not all the way up. As you can see, the greenish cast of the left-hand image (the bad one) is gone.
Hope this helps.