3 ms·
So how does the -i parameter know to look in a local file or on github for the public key? Does it look for a ".pub" in the filename? Feels clunky to me.
by netsharc 10y ago
So how does the -i parameter know to look in a local file or on github for the public key? Does it look for a ".pub" in the filename? Feels clunky to me.
- sleepychu 10y agoNo. I was curious about that too, they check if the parameter is a file and if it's not they try and fetch the github user's keys. [0] [0] - https://github.com/gravitational/teleconsole/blob/master/lib/identity.go#L134 https://github.com/gravitational/teleconsole/blob/master/lib...