← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1534792] Re: unable to connect or load identity file

 

As a canonical employee I find your response rude and insulting if I was a
regular customer (i am in this case) i would feel like that too. I never
said it was all 15.10 systems, I have other 15.10 that did work.

The bug was reported accurate and  due to some debugging i did find the
issue is network related as that host did have another managed switch in
its path which evidently is the cause. Moving the 15.10 node to the same
switch as the host node suceeded.I then went on travel and was unable to
update the bug. Ill take responsibility for that.

The errors were captured as output, i was not denied a connection it just
hangs, i sent an strace because i was asked in. IRC canonical channell.

So bug was reported properly, however i do think the error itself does not
accurately reflect the real problem.

If you prefer call me or ping on irc.

Doug

On Jan 20, 2016 5:41 AM, "Robie Basak" <1534792@xxxxxxxxxxxxxxxxxx>
wrote:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
>
> You seem to be saying that the ssh client on 15.10 cannot read its own
> key file? I'm using 15.10 and reading my key file fine. If this bug were
> as simple as you describe then I'd expect thousands of bug reports
> within days of 15.10's release. Since this isn't the case, it seems
> likely to me that this is a local configuration issue on your system. If
> you disagree, then please could you provide steps to reproduce the
> system on a fresh Ubuntu system?
>
> So since it seems likely to me that this is a local configuration
> problem, rather than a bug in Ubuntu, I'm marking this bug as
> Incomplete.
>
> If indeed this is a local configuration problem, you can find pointers
> to get help for this sort of problem here:
> http://www.ubuntu.com/support/community
>
> Or if you believe that this is really a bug, then you may find it
> helpful to read "How to report bugs effectively"
> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
> if you would then provide a more complete description of the problem,
> explain why you believe this is a bug in Ubuntu rather than a problem
> specific to your system, and then change the bug status back to New.
>
>
> ** Changed in: openssh (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1534792
>
> Title:
>   unable to connect or load identity file
>
> Status in openssh package in Ubuntu:
>   Incomplete
>
> Bug description:
>   2 bugs are similar but not the same  at
>   https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1522190  and
>   https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263
>
>
>   host A     ubuntu 14.04.3   -- running ssh-server
>
>
>   client B and C
>
>   client B 14.04.3  can connect no problem with ssh keys only to host A
>   (to me this means openssh-server is fine on Host A)
>
>
>   Client C  15.10   cannot ssh to host A,  openssh cannot or refuses to
> load identity files;  output of ssh -vvv below
>
>   $ ssh  ubuntu@172.27.20.1 -vv
>   OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
>   debug1: Reading configuration data /etc/ssh/ssh_config
>   debug1: /etc/ssh/ssh_config line 19: Applying options for *
>   debug2: ssh_connect: needpriv 0
>   debug1: Connecting to 172.27.20.1 [172.27.20.1] port 22.
>   debug1: Connection established.
>   debug1: identity file /home/dsikora/.ssh/id_rsa type 1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_rsa-cert type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_dsa type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_dsa-cert type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_ecdsa type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_ecdsa-cert type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_ed25519 type -1
>   debug1: key_load_public: No such file or directory
>   debug1: identity file /home/dsikora/.ssh/id_ed25519-cert type -1
>   debug1: Enabling compatibility mode for protocol 2.0
>   debug1: Local version string SSH-2.0-OpenSSH_6.9p1 Ubuntu-2
>
>
>   ###at this point connection hangs -- sometimes i get back
> "ssh_exchange_identification: read: Connection reset by peer"
>
>
>   permissions on files look OK to me:
>
>   $ ls -all .ssh
>   total 24
>   drwx------  2 user user 4096 Jan 15 12:53 .
>   drwxr-xr-x 26 user user 4096 Jan 15 12:13 ..
>   -rw-r--r--  1 user user  396 Jan 15 12:53 authorized_keys
>   -rw-------  1 user user 1679 Jan 14 16:15 id_rsa
>   -rw-r--r--  1 user user  395 Jan 14 16:15 id_rsa.pub
>   -rw-r--r--  1 user user  1094 Jan 15 12:18 known_hosts
>
>   and home dir :
>   $ ls -all /home
>   drwxr-xr-x 26 user user  4096 Jan 15 12:13 user
>
>
>   actual username replaced with "user"
>
>
>   ssh versions on Client
>
>
>   $ dpkg -l | grep ssh
>   ii  libssh-4:amd64                                0.6.3-3ubuntu3
>                      amd64        tiny C SSH library (OpenSSL flavor)
>   ii  openssh-client                                1:6.9p1-2
>                     amd64        secure shell (SSH) client, for secure
> access to remote machines
>   ii  openssh-server                                1:6.9p1-2
>                     amd64        secure shell (SSH) server, for secure
> access from remote machines
>   ii  openssh-sftp-server                           1:6.9p1-2
>                     amd64        secure shell (SSH) sftp server module, for
> SFTP access from remote machines
>   ii  ssh-askpass-gnome                             1:6.9p1-2
>                     amd64        interactive X program to prompt users for
> a passphrase for ssh-add
>   ii  ssh-import-id                                 4.5-0ubuntu1
>                      all          securely retrieve an SSH public key and
> install it locally
>
>   please advise.
>
>   thanks
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1534792/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1534792

Title:
  unable to connect or load identity file

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  2 bugs are similar but not the same  at
  https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1522190  and
  https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263

  
  host A     ubuntu 14.04.3   -- running ssh-server  

  
  client B and C      

  client B 14.04.3  can connect no problem with ssh keys only to host A
  (to me this means openssh-server is fine on Host A)

  
  Client C  15.10   cannot ssh to host A,  openssh cannot or refuses to load identity files;  output of ssh -vvv below

  $ ssh  ubuntu@172.27.20.1 -vv  
  OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: /etc/ssh/ssh_config line 19: Applying options for *
  debug2: ssh_connect: needpriv 0
  debug1: Connecting to 172.27.20.1 [172.27.20.1] port 22.
  debug1: Connection established.
  debug1: identity file /home/dsikora/.ssh/id_rsa type 1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_rsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_dsa type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_dsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_ecdsa type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_ecdsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_ed25519 type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /home/dsikora/.ssh/id_ed25519-cert type -1
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_6.9p1 Ubuntu-2

  
  ###at this point connection hangs -- sometimes i get back "ssh_exchange_identification: read: Connection reset by peer"


  permissions on files look OK to me:

  $ ls -all .ssh
  total 24
  drwx------  2 user user 4096 Jan 15 12:53 .
  drwxr-xr-x 26 user user 4096 Jan 15 12:13 ..
  -rw-r--r--  1 user user  396 Jan 15 12:53 authorized_keys
  -rw-------  1 user user 1679 Jan 14 16:15 id_rsa
  -rw-r--r--  1 user user  395 Jan 14 16:15 id_rsa.pub
  -rw-r--r--  1 user user  1094 Jan 15 12:18 known_hosts

  and home dir :
  $ ls -all /home
  drwxr-xr-x 26 user user  4096 Jan 15 12:13 user

  
  actual username replaced with "user"


  ssh versions on Client

  
  $ dpkg -l | grep ssh
  ii  libssh-4:amd64                                0.6.3-3ubuntu3                             amd64        tiny C SSH library (OpenSSL flavor)
  ii  openssh-client                                1:6.9p1-2                                  amd64        secure shell (SSH) client, for secure access to remote machines
  ii  openssh-server                                1:6.9p1-2                                  amd64        secure shell (SSH) server, for secure access from remote machines
  ii  openssh-sftp-server                           1:6.9p1-2                                  amd64        secure shell (SSH) sftp server module, for SFTP access from remote machines
  ii  ssh-askpass-gnome                             1:6.9p1-2                                  amd64        interactive X program to prompt users for a passphrase for ssh-add
  ii  ssh-import-id                                 4.5-0ubuntu1                               all          securely retrieve an SSH public key and install it locally

  please advise.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1534792/+subscriptions


References