Support multi ssh keys

I think that the variables used in the code once, it is necessary to declare where they are used.