1

Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address; Host key verification failed

view story
linux-howto

http://serverfault.com – Below you can see the log. The connection is from a Cygwin SSH client to a Cygwin SSHD server. The connection works ok when launched from the command line but fails when launched from Jenkins (Java Continuous Integration server). The /dev/tty file exists and is rw for everybody. I tried deleting it and recreating it, but I can't since Cygwin recreates it before I can create a link to /dev/ttySO. ssh -t -vvv [email protected] 'mv -v /cygdrive/z/deploy-scripts /cygdrive/z/deploy-scripts-`date +%F_%H-%M-%S`' OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 Pseudo-terminal will not be (HowTos)