phablet-shell should touch ~/.ssh/known_hosts before trying to use it

Bug #1364913 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
Undecided
Oliver Grawert

Bug Description

On running phablet-shell on the terminal, it gave us an error "ssh-keygen: /home/username/.ssh/known_hosts: No such file or directory". It turns out that I did have ssh keys in my system. On running "touch /home/username/.ssh/known_hosts" it started working.

May be this should be automatically by phablet-tools before ending up with an error.

summary: - phablet-shell spits out error that ssh-keygen:
- /home/usernamei/.ssh/known_hosts: No such file or directory
+ phablet-shell spits out error ssh-keygen:
+ /home/username/.ssh/known_hosts: No such file or directory
Oliver Grawert (ogra)
Changed in phablet-tools (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
status: New → Confirmed
summary: - phablet-shell spits out error ssh-keygen:
- /home/username/.ssh/known_hosts: No such file or directory
+ phablet-shell should touch ~/.ssh/known_hosts before trying to use it
Revision history for this message
Oliver Grawert (ogra) wrote :

as a workaround (until a proper fix landed in the package) use these three commands, then pahblet-shell will work:

mkdir .ssh
touch .ssh/known_hosts
ssh-keygen

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phablet-tools - 1.1+14.10.20141002-0ubuntu1

---------------
phablet-tools (1.1+14.10.20141002-0ubuntu1) utopic; urgency=low

  [ Giulio Collura ]
  * fix phablet-demo-setup (LP: #1373779)

  [ Oliver Grawert ]
  * phablet-shell: create local ~/.ssh directory if it does not exist,
    stop execution and tell user to generate a key first before re-
    running (LP: #1364913) (LP: #1364913)

  [ nskaggs ]
  * allow source from outside release pocket, bug 1371241 (LP: #1371241)
 -- Ubuntu daily release <email address hidden> Thu, 02 Oct 2014 10:24:53 +0000

Changed in phablet-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers