$ ssh usaname@login.somehost.no
Could not create directory'/cygdrive/c/Documents and Settings/vidar kongsli/.ssh'.
The authenticity of host 'login.somehost.no (...)' can't be established.
RSA key fingerprint is ....
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
$ set | grep HOME
HOME=/cygdrive/d/home/vidar
HOMEDRIVE=C:
HOMEPATH=/cygdrive/d/home/vidar
$ ls ~/.ssh
id_rsa id_rsa.pub
¿Alguna idea de por qué ssh no utiliza la variable de entorno $ HOME cuando intenta localizar ~ / .ssh?
(editar: formato fijo)
HOME
a%USERPROFIEL%
las variables de entorno antes de instalar el cygwin. Entonces ... / home / <myusername> no se ha creado (/etc/passwd cannot be found
). Y no puede usar la clave ssh en% USERPROFILE%.db_home: /%H
Solucione el problema perfectamente. ¡Muchas gracias!