ssh to agent in the cloud

Upon launching a teamcity agent in cloud, is there a way to dynamically create an ssh tunnel so the server will talk to the client on EC2 cloud through the ssh tunnel?

1 comment

Salva,

It seems that the easiest approach is to configure EC2 agent machine to establish a tunnel to the network where server is residing on machine boot.

Alternative approach would be to write a TeamCity Java plugin that will execute a command on agent machine launch.

0

Please sign in to leave a comment.