Bug 166

Summary: ssh-add gives annoying messages for non-exsisting keys
Product: Portable OpenSSH Reporter: cagri coltekin <cagri>
Component: ssh-agentAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED DUPLICATE    
Severity: trivial    
Priority: P5    
Version: -current   
Hardware: All   
OS: All   

Description cagri coltekin 2002-03-14 21:44:35 AEDT
It is a totally cosmetic thing but, ssh-add of 3.1p1 gives the following
messages when keys are not explicitly listed in the cmd line.

---------------------------
penguin:~$ ssh-add
/home/cagri/.ssh/id_rsa: No such file or directory
/home/cagri/.ssh/id_dsa: No such file or directory
Enter passphrase for cagri@penguin: 
---------------------------

everything is fine & working, however these messages could be misleading
for ignorant users. I think it would be a good idea to give some messages
which does not look like an "error message" or even no message at all.

I've tested it on linux x86, I do not think it depends on OS or architecture.
Regards.
Comment 1 William Knox 2002-03-15 01:40:00 AEDT
This appears to me to be a duplicate of bug #158. Try the second attachment to
that bug (a patch against ssh-add.c) and see if that helps.
Comment 2 cagri coltekin 2002-03-15 01:53:38 AEDT
Yes, patch for #158 this solves.
Sorry for the duplicate report.

Thanks..
--
cagri
Comment 3 William Knox 2002-03-15 02:06:20 AEDT

*** This bug has been marked as a duplicate of 158 ***
Comment 4 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED