Mailinglist Archive: opensuse (1470 mails)

< Previous Next >
Re: [opensuse] Slow SSH connection
On 02/10/2016 09:25 AM, Ruben Safir wrote:


ssh -vvv -l ruben www.mrbrklyn.com /bin/true 2>tmp


OpenSSH_7.1p2, OpenSSL 1.0.2f 28 Jan 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to www.mrbrklyn.com [96.57.23.82] port 22.
debug1: Connection established.
debug1: identity file /home/ruben/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/ruben/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/ruben/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/ruben/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory

OK, as i said, I 'cheat', I use ssh-agent

anton@Mainbox:~> eval $(ssh-agent)
Agent pid 26106
anton@Mainbox:~> ssh-add
Enter passphrase for /home/anton/.ssh/id_rsa:
Identity added: /home/anton/.ssh/id_rsa (/home/anton/.ssh/id_rsa)

Oh, look! I have a 'id_rsa' style key, you don't.
Nor do you have a 'id_dsa' one.

How come?

Perhaps that accounts for part of the delay?

Why don't you generate those keys?


debug1: identity file /home/ruben/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/ruben/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory

Oh, right, new and spiffy!

Have you done the following:

sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ”

Apparently not.




debug1: identity file /home/ruben/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory

We're running out of options and the clock is ticking ..



....
debug3: hostkeys_foreach: reading file "/home/ruben/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file
/home/ruben/.ssh/known_hosts:3
debug3: load_hostkeys: loaded 1 keys from www.mrbrklyn.com
debug3: order_hostkeyalgs: prefer hostkeyalgs:
ecdsa-sha2-nistp256-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp384-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp521-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received

I wish this was time-stamped.



--
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting frowned upon?

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups