Hello,
I'm trying to deploy ruby webpage from jenkins shell with command "cap production deploy", but it throws an error (works if I do it manually from terminal): > deploy@10.105.27.132's password:(Backtrace restricted to imported tasks) > cap aborted! > SSHKit::Runner::ExecuteError: Exception while executing as > deploy@10.105.27.132: Inappropriate ioctl for device > Errno::ENOTTY: Inappropriate ioctl for device If I perform the command manually from the terminal it executes without a problem. I have set up public keys so that I can execute the command without any need to enter password and I also added deploy keys to project in GitLab. So if I do an ssh connection from the terminal to the production server, it doesn’t ask for a password. As I searched for an answer I saw that in most cases the problem is with the deploy keys, but I have added it to the project and I can execute the command manually from the terminal, so the problem must be in Jenkins shell. It seems that it probably uses some interpretation of the terminal and not the real thing. Is there a way I can fix this, so I can execute the command from Jenkins shell? Best Regards, Rudolfs Sviklis -- 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/40238b71-b867-4236-b6b0-e47889c1dd5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.