This has been a headache. Where to begin?
Server A needs to connect over svn+ssh to Server B to grab some source files for deploying on Server A. My deployment script runs from my local dev machine via:
ssh serverA 'bash -s' < deploy.sh
I have a passphraseless public/private key pair set up between Server A and Server B.
Does anyone one know how get SVN to log the details of the ssh connection when operating through an ssh connection?
When I can't connect svn always gives me:
To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
I've looked in the [tunnels] section of the config and nothing is currently enabled.
I'm setting up an image for a webserver. I have a script on the server that fetches the latest source code for an application from a repository and does all the configuration necessary for deployment. This script is to be run by the unprivileged user for deployment.
Right now:
1. System boots
2. Apache starts
3. I log in, run my script, and restart apache
What I want:
1.
What I need is a way to launch a remote application and nothing more. I have an automated test run that functions fine remotely, but I need to launch the application as part of the deployment process rather than the test process. PSExec launches the application, but it maintains its connection to the process and never releases.
When a web page is loaded on server A i want it to run a script on server B.
I am trying to use this tutorial to set up a git remote repo on my server:
http://toroid.org/ams/git-website-howto
But when I try to push to the server, I get this error:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
So it seems like git can't ssh the server because of some auth key issue.
I have a script (test.sh) on a local server, which when I execute with terminal works fine. The script removes a directory and creates a directory local. Then it connects to a remote server using "ssh -i $private_key .." and copies a file there.
When I execute this script in jenkins with
sh test.sh
it doesnt work. Im getting the following errors:
rm: .. Permission denied
mkdir: ..
I have 2 machines where one of them contains the Hudson CI and other JBoss 7 AS. In Hudson, I have installed "Deploy Plugin", created new job and filled required JBoss manager user connection fields. When I run the job, the project successfully built however the deployment process to remote JBoss AS is not being triggered. No errors or messages about the deployment in log.