I'm just trying to refit a driveshaft but it doesn't seem to want to go in.

I'm hitting it with a hammer on the inner part, and was wondering is it okay to hit it at the hub end or will it damage something?

Any tips for doing this? Is replacement of the spring clip a good idea? Some grease?