added dynamic ssh with publishing.