SSHSearch Unity Lens Daemon written in Python
-----------------------------------------------

Features
--------

 * it parses the ~/.ssh/config file and searches for the hostnames
 * it parses the ~/.ssh/known_hosts file and reads all hostnames (to use this feature you have to set the ssh setting "HashKnownHosts" to "no")
 * you are able to define a user for the founded hosts in the search term

Examples
--------

Assume the ~/.ssh/config file looks like

    Host desktop
    User user
    HostName 192.168.1.100
    
    Host desktop1
    User user
    HostName 192.168.1.101

    host vserver
    User user
    Port 2222
    HostName 11.11.111.111
    
and the ~/.ssh/known_hosts file looks like

    [11.11.111.111]:2222 ssh-rsa AAAAB...
    github.com,207.97.227.239 ssh-rsa AAAAB...
    user.webfactional.com,22.22.222.222 ssh-rsa AAAAB...
    192.168.1.100 ssh-rsa AAAAB...

Here are some example searches and the search results

 * search-term: **desk**
   1. desktop
   2. desktop1
   
 * search-term: **rv**
   1. vserver
   
 * search-term: **11**
   1. 11.11.111.111:2222
   
 * search-term: **97**
   1. 207.97.227.239
   
 * search-term: **user@** (all hostnames are in the search results)
   1. user@desktop
   2. user@desktop1
   3. user@vserver
   4. user@11.11.111.111:2222
   5. user@github.com
   6. user@207.97.227.239
   7. user@user.webfactional.com
   8. user@22.22.222.222
   9. user@192.168.1.100

 * search-term: **user@des**
   1. user@desktop
   2. user@desktop1

Credits
-------
This lens is based on the gdocs sample lens writen by njpatel which can 
be found on launchpad.
http://bazaar.launchpad.net/~njpatel/unity-lens-gdocs/trunk/files

Dependencies
------------
Introspection data for libunity, libdee, and libdbusmenu-glib

gir1.2-unity-4.0
gir1.2-dee-0.5
gir1.2-dbusmenu-glib-0.4
python-paramiko
python-distutils-extra

Trying out the lens
-------------------

Install the package unity-lens-sshsearchfrom the Scopes Packagers PPA:
https://launchpad.net/~scopes-packagers/+archive/ppa

