| Summary: | Key generation needs user assistance when destination file already exists | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Aleksey Morarash <aleksey.morarash> |
| Component: | ssh-keygen | Assignee: | Oliver Ford <ojford> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | ojford |
| Priority: | P2 | ||
| Version: | 5.9p1 | ||
| Hardware: | All | ||
| OS: | All | ||
Added pr to change this behavior for openssh-portable here: https://github.com/openssh/openssh-portable/pull/175 |
Compiled from source openssh-5.9p1. When generating new key pair with ssh-keygen it will ask something like > <filename> already exists. > Overwrite (y/n)? regardless of terminal existance. Worse, there is no option to disable such behaviour. To force file rewrite I use 'echo y' piped to ssh-keygen, but it still outputs the question. I expected '-q' option (Silence ssh-keygen) will be able to skip such interactions.