Re:“Ghost in the Shell - Remake”
by IsmaOlvey on Monday April 24, 2017 @06:09AM
(#14183090)
If you want to do this only for a single invocation, this will work:
Specifying just IdentitiesOnly is not enough.
[ Parent
| on HN ]
Re:“Ghost in the Shell - Remake”
by deathanatos on Monday April 24, 2017 @12:42PM
(#14185738)
> Specifying just IdentitiesOnly is not enough.
In what manner?
With IdentitiesOnly, any explicitly configured via IdentityFile, or the default identity file if none are configured explicitly, is/are still sent. Using "-i /dev/null" in combination with IdentitiesOnly prevents that.
Re:“Ghost in the Shell - Remake”
by deathanatos on Monday April 24, 2017 @05:22PM
(#14188423)
Interesting. If you're right, the manual leaves out the rather critical "or the default identity file" bit:
> Specifies that ssh(1) should only use the authentication identity and certificate files explicitly configured in the ssh_config files or passed on the ssh(1) command-line, even if ssh-agent(1) or a PKCS11Provider offers more identities.
I verified the behavior with ssh -vv (macOS Sierra).