You must add all possible servers as SSH servers, assign a shortcut to each one (maybe ip) and configure / exec transfer commands for each of them, even if they are all the same.
Add a string parameter to your assembly for the server name, i.e. SERVERS.
" " "" . , (SERVERS), , .
Java - . * . ip- ip .
, .