Hostnames from the local ssh config cannot be used as workspace hosts
I get the following error:
2013-12-31 12:38:17,430 - paramiko.hostkeys - INFO - Not enough fields found in known_hosts in line 109 ('ssh-rsa <my_ssh_key>')
Traceback (most recent call last):
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/tools/ajax.py", line 19, in wrap
content = innerfunc(*args, **kwargs)
File "/Library/Python/2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/controller/ajax.py", line 184, in connectworkspace
vispa.workspace.connect(workspace, user, db, password)
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/workspace.py", line 651, in connect
return _connection_pool.get(user, workspace, password=password)
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/workspace.py", line 501, in get
client = self._try_host(user, workspace, host, **kwargs)
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/workspace.py", line 464, in _try_host
client.open()
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/workspace.py", line 379, in open
key=self.__key)
File "/Users/marcel/3PIA/vispa/web/vispa1.0/vispa/workspace.py", line 265, in __init__
self.__client.connect(**connect_args)
File "/Library/Python/2.7/site-packages/paramiko/client.py", line 291, in connect
for (family, socktype, proto, canonname, sockaddr) in socket.getaddrinfo(hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM):
(from redmine: issue id 1502, created on 2013-12-31 by root)