Mouse look/follow?

I want to make a rail shooter. How can I set up a scenario where a camera is behind the ship, and when the mouse it moved around the screen, the ship looks at the mouse position (as if the mouse existed in 3D space) and then move towards the mouses position? Also, how would I do that using the keyboard/a joystick?

I was also thinking of having the ship stay in the same place and just have the asteroids, enemies, etc. scroll past the player, could this work with the “look at mouse” idea(or would it be easier to have the ship moving forward, so that when it looked in a direction, it would move that way automatically)?

I think I posted your exact answer in a previous thread, though you may need to modify it some and it probably does more than what you are asking for.

http://forum.unity3d.com/threads/76973-Car-Veiw-script-problem

woah, thats a complicated script. Which part of it would I use to accomplish what I want?