From: <di...@us...> - 2011-03-03 16:12:51
|
Revision: 739 http://safekeep.svn.sourceforge.net/safekeep/?rev=739&view=rev Author: dimi Date: 2011-03-03 16:12:45 +0000 (Thu, 03 Mar 2011) Log Message: ----------- A bit cleaner error message when we can't get to the authorized_keys file. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2011-03-03 15:58:54 UTC (rev 738) +++ safekeep/trunk/safekeep 2011-03-03 16:12:45 UTC (rev 739) @@ -1224,7 +1224,7 @@ cmd = [basessh, '%s@%s' % (cfg['user'], cfg['host']), "if test -f .ssh/authorized_keys; then cat .ssh/authorized_keys; fi"] authtext = call(cmd) if authtext is None: - warn('%s: Failed to read the authorized_keys file.' % id) + warn('%s: Failed to read the %s@%s:~/.ssh/authorized_keys file.' % (id, cfg['user'], cfg['host'])) authtext = [] auth_keys = parse_authorized_keys(authtext) this_keys = parse_authorized_keys(output) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |