Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I can't ssh to the linux server

taiyuns-MacBook-Pro:.ssh taiyun$ ssh -v root@23.239.4.70

OpenSSH_6.7p1, OpenSSL 1.0.2a 19 Mar 2015

debug1: Reading configuration data /usr/local/etc/ssh/ssh_config

debug1: Connecting to 23.239.4.70 [23.239.4.70] port 22.

debug1: Connection established.

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_rsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_rsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_dsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_dsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_ecdsa type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_ecdsa-cert type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_ed25519 type -1

debug1: key_load_public: No such file or directory

debug1: identity file /Users/taiyun/.ssh/id_ed25519-cert type -1

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_6.7

ssh_exchange_identification: read: Connection reset by peer

MacBook Pro, iOS 8.4.1

Posted on Aug 30, 2015 7:43 AM

Reply
5 replies

Aug 31, 2015 7:36 AM in response to Grant Bennet-Alder

Grant Bennet-Alder wrote:


Does that file exist?


/Users/taiyun/.ssh/id_rsa


do you have permissions to read it?


Your Linux server appears to use a certificate login, not just a password. You appear to need to set up for that.

taiyuns-MacBook-Pro:.ssh taiyun$ ls

id_rsa id_rsa.pub known_hosts

taiyuns-MacBook-Pro:.ssh taiyun$ scp .ssh/id_rsa.pub root@23.239.4.70:~

ssh_exchange_identification: read: Connection reset by peer

lost connection

taiyuns-MacBook-Pro:.ssh taiyun$

I can't ssh to the linux server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.