First time here? Check out the FAQ!

Revision history  [back]

Help setting up a remote host

I followed the instructions (1st using SSH to create the key remotely, and then with PuTTY) and get the following error when probing the remote host:

OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016 
debug1: Reading configuration data /c/Users/Alex/.ssh/config 
debug1: Reading configuration data /etc/ssh/ssh_config 
debug1: Connecting to 192.168.0.126 [192.168.0.126] port 22. 
debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519 type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519-cert type -1 
debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.3 
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u1 
debug1: match: OpenSSH_7.4p1 Debian-10+deb9u1 pat OpenSSH* compat 0x04000000 
debug1: Authenticating to 192.168.0.126:22 as 'smartcoin' 
debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received 
debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none 
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none 
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mYGSvlz1/eP19p+zmm24Zta05S/2H4wTAdhgNgpvMzg 
debug1: read_passphrase: can't open /dev/tty: No such device or address Host key verification failed. SSH client exited errno=255

I used pageant to add the keys and Windows cmd connection to the host using plink works fine. I also tried naming them the same as in the tutorial (id_rsa.ppk) and tried root as the login (root@192.168.0.126).

Please help.

Help setting up a remote host

I followed the instructions (1st using SSH to create the key remotely, and then with PuTTY) and get the following error when probing the remote host:

OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016 
debug1: Reading configuration data /c/Users/Alex/.ssh/config 
debug1: Reading configuration data /etc/ssh/ssh_config 
debug1: Connecting to 192.168.0.126 [192.168.0.126] port 22. 
debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa-cert type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519 type -1 
debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519-cert type -1 
debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.3 
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u1 
debug1: match: OpenSSH_7.4p1 Debian-10+deb9u1 pat OpenSSH* compat 0x04000000 
debug1: Authenticating to 192.168.0.126:22 as 'smartcoin' 
debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received 
debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none 
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none 
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mYGSvlz1/eP19p+zmm24Zta05S/2H4wTAdhgNgpvMzg 
debug1: read_passphrase: can't open /dev/tty: No such device or address Host key verification failed. SSH client exited errno=255

I used pageant to add the keys and Windows cmd connection to the host using plink works fine. I also tried naming them the same as in the tutorial (id_rsa.ppk) and tried root as the login (root@192.168.0.126).

Please help.

Help setting up a remote host

I followed the instructions (1st using SSH to create the key remotely, and then with PuTTY) and get the following error when probing the remote host:

OpenSSH_7.3p1, host:OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016  debug1: Reading configuration data /c/Users/Alex/.ssh/config  debug1: Reading configuration data /etc/ssh/ssh_config  debug1: Connecting to 192.168.0.126 [192.168.0.126] port 22.  debug1: fd 3 clearing O_NONBLOCK debug1: Connection established.  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_rsa-cert type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_dsa-cert type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ecdsa-cert type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519 type -1  debug1: key_load_public: No such file or directory debug1: identity file /c/Users/Alex/.ssh/id_ed25519-cert type -1  debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.3  debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u1  debug1: match: OpenSSH_7.4p1 Debian-10+deb9u1 pat OpenSSH* compat 0x04000000  debug1: Authenticating to 192.168.0.126:22 as 'smartcoin'  debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received  debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256  debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit>  compression: none  debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit>  compression: none  debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mYGSvlz1/eP19p+zmm24Zta05S/2H4wTAdhgNgpvMzg  debug1: read_passphrase: can't open /dev/tty: No such device or address Host key verification failed. SSH client exited errno=255

I errno=255I used pageant to add the keys and Windows cmd connection to the host using plink works fine. I also tried naming them the same as in the tutorial (id_rsa.ppk) and tried root as the login (root@192.168.0.126).

Please help.