It is possible to set up command line ssh to not require a password or file.

I can currently do this with:
uname1@server1:~$ ssh -q uname2@server2

But I can't get this to work with Camel (being run as uname1 on server1). If
I do:

.to("ssh://uname2@server2") 

I get a java.lang.NullPointerException exception.

If I try to give a blank password by just adding a colon:

.to("ssh://uname2:@server2") 

I now get org.apache.camel.RuntimeCamelException - Failed to authenticate
username uname2

Is this possible? 

FYI I'm using Camel 2.16.1

Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SSH-no-password-tp5775592.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to