Did Lord Buddha teach any other meditation technique than the Anapana? Meditation and cultivating awareness is the heart of Buddhism. You need meditation for attaining jhanas and also for doing Vipassana, metta bhavana... 

So as far as I've discovered, the only meditation that Lord Buddha taught was sitting and watching the breath. But nowadays many masters and mystic have very different techniques for different kind of people. Because not all people has the same temperament and cannot go into trance by just one single method. And as tathagata also had so many different disciples, did anapana worked for all of them and all of them attained jhanas, stillness of mind, etc. by practicing anapana alone or there was other meditation techniques, if so what are these techniques?

P.s. I know about walking meditation, loving-kindness and other awareness meditations explained in satipatthana but they are not specifically techniques. What I'm looking for is the sitting meditation techniques when anapana does not work.
You sit for two hours like a log and expect to reach samadhi? Well, I'm sorry to disappoint, but your expectation of meditation as "technique" is completely, utterly wrong. You can't achieve Nibbana, Enlightenment, Liberation, or however you call it, by sitting and mechanically doing something pointless - this is not how it works.

Meditation is cultivation. Buddhist meditation is cultivation of cessation of dukkha. This cultivation is gradual, step by step - from coarse to fine.

In your meditation you should cultivate cessation of dukkha by cultivating: 


  
  non-arising [anuppādāya] of evil, unskillful qualities that have not yet arisen.  
  abandonment [pahānāya] of evil, unskillful qualities that have arisen.  
  arising [uppādāya] of skillful qualities that have not yet arisen.  
  maintenance [ṭhitiyā], non-confusion, increase, plenitude, development, &amp; culmination of skillful qualities that have arisen.  
  


How exactly you do this? By following anapanasati sutta:


  Breathing in, I am aware of my whole body. Breathing out, I am aware of my whole body.
  Breathing in, I calm my whole body. Breathing out, I calm my whole body.
  Breathing in, I make it joyful. Breathing out, I make it joyful.
  Breathing in, I make it happy. Breathing out, I make it happy.
  Breathing in, I make my mind happy. Breathing out, I make my mind happy.
  Breathing in, I concentrate my mind. Breathing out, I concentrate my mind.
  Breathing in, I liberate my mind. Breathing out, I liberate my mind.  


In other words, as you sit there and breath, you should deliberately focus and apply effort to step by step abandon the evil unskilful qualities:


Craving for physical pleasures
Craving for emotional pleasures
Craving for mental pleasures
Craving for praise and approval 
Craving for your body to be different
Craving for your mind to be different
Craving for your life situation to be different
Craving for the world to be different 
Negativity
Self-beating
Worry that what you are doing is not perfect enough.


and you should specifically focus and deliberately apply effort to generate skillful qualities:


Faith or Motivation to continue this practice 
Energy or Good Mood
Mindfulness or Remembering these instructions
Concentration or Stable Mind
Wisdom or Understanding How Mind Works
Confidence
Tranquility


You can do all this through:


Talking to yourself
Thinking about certain things
Remembering certain things
Imagination and visualization
Reviewing and re-evaluating your past experience
Reviewing your attachments and letting go
Reviewing your preconceptions and letting go
Looking at your breathing and letting go 
Looking at your psychosomatic feelings in the body and working directly with them
Looking at your mind and working directly with it.


You do it starting with coarse, big, most obvious issues. Then you do smaller and smaller stuff. Then at the end, you look at your "mind of practice" itself - how and why you are doing it, and apply the same exact process to that.

That's it.