Continuing the discussion from Ssh-copy-id not working in cygwin:
I am also facing like this when tried to login.
still mktemp error
i used correct my id (shown as * below)
$ ssh-copy-id -i id_rsa ************@gw01.itversity.com
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “id_rsa.pub”
mktemp: failed to create file via template ‘/cygdrive/c/Users/Sumit/Documents/.ssh/ssh-copy-id_id.XXXXXXXXXX’: No such file or directory
/usr/bin/ssh-copy-id: ERROR: mktemp failed
For which you mentioned.
@s23711 Issue has taken care already. User able to login from cygwin.
We have manually copied contents of public key (id_rsa.pub) to authorized_keys