You are not logged in.
Pages: 1
Hey Guys,
I want to access my new raspberry pi via SSH. Trying it on my smartphone, it works totally fine. But when I try it on arch via openssh some errors occur.
The output of
ssh -v pi@192.168.1.44is
OpenSSH_7.2p2, OpenSSL 1.0.2h 3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.1.44 [192.168.1.44] port 22.
debug1: Connection established.
debug1: identity file /home/arminusr/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Raspbian-5+deb8u2
debug1: match: OpenSSH_6.7p1 Raspbian-5+deb8u2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.44:22 as 'pi'
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:Yqk6OMxknIE0Cp2vVR7u+hnZK0hGCx1oEbi5ZnX2hd0
The authenticity of host '192.168.1.44 (192.168.1.44)' can't be established.
ECDSA key fingerprint is SHA256:Yqk6OMxknIE0Cp2vVR7u+hnZK0hGCx1oEbi5ZnX2hd0.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.If I edit the command to
ssh -v -i ~/.ssh/id_rsa pi@192.168.1.44 the output is:
OpenSSH_7.2p2, OpenSSL 1.0.2h 3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.1.44 [192.168.1.44] port 22.
debug1: Connection established.
debug1: identity file /home/arminusr/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/arminusr/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Raspbian-5+deb8u2
debug1: match: OpenSSH_6.7p1 Raspbian-5+deb8u2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.44:22 as 'pi'
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:Yqk6OMxknIE0Cp2vVR7u+hnZK0hGCx1oEbi5ZnX2hd0
The authenticity of host '192.168.1.44 (192.168.1.44)' can't be established.
ECDSA key fingerprint is SHA256:Yqk6OMxknIE0Cp2vVR7u+hnZK0hGCx1oEbi5ZnX2hd0.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.The output of
lsin the /.ssh directory is:
id_rsa id_rsa.pubSo the question is, wether I have to create a id_rsa-cert file and, if so, how.
Offline
Arch ARM is a separate distribution, please ask on their boards: https://bbs.archlinux.org/viewtopic.php?id=153431
Closing -- for deletion
# edit: reopened on appeal: issue is with access from an Arch client...
Offline
Pages: 1