Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH deployer authentication failure. #61

Closed
indira-ak opened this issue Aug 11, 2015 · 1 comment

Comments

@indira-ak
Copy link

commented Aug 11, 2015

deployplugin_issue_ssh

Attachment has the full details about the settings done on teamcity build runner : SSH Deployer Authentication Issues log below,

image

Questions:
My requirement is to deploy the artifacts (created in teamcity while compiling the code) to dev server through ssh deployer.

  1. how to get ride of the auth fail?
  2. Please specify with some examples how each deployers are working?
  3. where should i place the private key to make it useful for teamcity to connect to any servers and deploy the artifacts to that server?
@nskvortsov

This comment has been minimized.

Copy link
Contributor

commented Oct 29, 2015

Default private key uses ~/.ssh/id_rsa key for auth. This file is supposed to be located at Build Agent machine.

Recently, a support for SSH-Agent auth was implemented by @webner . This feature will help you to make a key useful for connecting to any servers. It can be succefully combined with TeamCity ssh key management and ssh-agent build

Follow these steps:

  1. Upload your key to TeamCity server
  2. Set up an ssh-agent build feature for your build
  3. Choose ssh-agent auth. type in ssh deployer settings.
@nskvortsov nskvortsov closed this Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.