Revision 697a3d61 tools/setup-ssh
b/tools/setup-ssh | ||
---|---|---|
231 | 231 |
|
232 | 232 |
|
233 | 233 |
def LoadPrivateKeys(options): |
234 |
"""Load the list of available private keys |
|
234 |
"""Load the list of available private keys.
|
|
235 | 235 |
|
236 | 236 |
It loads the standard ssh key from disk and then tries to connect to |
237 | 237 |
the ssh agent too. |
... | ... | |
298 | 298 |
|
299 | 299 |
|
300 | 300 |
def LoadKnownHosts(): |
301 |
"""Loads the known hosts
|
|
301 |
"""Load the known hosts.
|
|
302 | 302 |
|
303 |
@return L{paramiko.util.load_host_keys} dict
|
|
303 |
@return: paramiko.util.load_host_keys dict
|
|
304 | 304 |
|
305 | 305 |
""" |
306 | 306 |
homedir = utils.GetHomeDir(constants.GANETI_RUNAS) |
Also available in: Unified diff