From 7826b9569fa2bf5985e4378ab6ec4c0d976fb4df Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 1 Apr 2012 09:55:44 -0400 Subject: [PATCH] More informative error message. --- ssh-installkeys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-installkeys b/ssh-installkeys index 41bf752..524fb7a 100755 --- a/ssh-installkeys +++ b/ssh-installkeys @@ -2111,7 +2111,7 @@ if __name__ == '__main__': # OK, install keys remotely if they don't exist if session.exists("~/.ssh/authorized_keys"): - print "authorized_keys already exists on", host + print "authorized_keys already exists on %s, cannot append to it." % host config.remember(session) elif check: print "Check of %s@%s is complete." % (login, host) -- 2.43.0