Move a ship around a planet and rotate ship on Y axis

So I need that a ship move around the surface of a planet at a fixed height. And also rotate on Y axis following the mouse. The camera is 3rd person and follows the ship movement, but dont rotate on Y axis with the ship. My script does both things but when I start to move the ship, it starts to rotate on X and Z axis. I tried to use RigidBody constraits and it didnt worked. This is my setup:
104240-capturar.png
Planet centered at (0,0,0)
GameObject centered at (0,0,0)
GameObject(1) same position as the ship.
I have a script associated to GameObject for movement:

if (Input.GetKey(KeyCode.UpArrow))
            transform.Rotate(new Vector3(2, 0, 0));
if (Input.GetKey(KeyCode.DownArrow))
            transform.Rotate(new Vector3(-2, 0, 0));
if (Input.GetKey(KeyCode.RightArrow))
            transform.Rotate(new Vector3(0, 0, -2));
if (Input.GetKey(KeyCode.LeftArrow))
            transform.Rotate(new Vector3(0, 0, 2));

And a script associated to the ship:

http://wiki.unity3d.com/index.php?title=LookAtMouse

The problem was in Quaternion.LookRotation, I was specifing only the first parameter. The fix was to specify the second parameter too. ‘upwards’ “The vector that defines in which direction up is.” by transform.up so the movement is relative to the ship.