I am attempting to connect into Jenkins via id_rsa/id_rsa.pub.  My keys are 
obviously good because I do this all over the place with ssh.  
Jenkins-cli.jar seems a bit confused to me.  Please take a look at my 
output:

$ /cygdrive/c/Java/bin/java -jar jenkins-cli.jar -s http://myserver:8080/ 
-i /home/efetzer/.ssh/id_rsa who-am-i
No such file exists: \home\efetzer\.ssh\id_rsa
Jenkins CLI
Usage: java -jar jenkins-cli.jar [-s URL] command [opts...] args...
Options:
-s URL       : the server URL (defaults to the JENKINS_URL env var)
-i KEY       : SSH private key file used for authentication
-p HOST:PORT : HTTP proxy host and port for HTTPS proxy tunneling. See 
http://jenkins-ci.org/https-proxy-tunnel
-noCertificateCheck : bypass HTTPS certificate check entirely. Use with 
caution
-noKeyAuth   : dont try to load the SSH authentication private key. 
Conflicts with -i
The available commands depend on the server. Run the help command to
see the list.

$ ls /home/efetzer/.ssh
id_rsa  id_rsa.pub  known_hosts


It appears as though Jenkins-cli.jar windowafied my directory seperators.  
It's true I'm on a winders box, but running in Cygwin.  Any help would be 
appreciated.

Thanks,
Eric

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/467ba6e8-e937-4919-aa2a-070c3ff19397%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to