diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-09-03 07:27:03 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-09-03 17:33:08 +1000 |
commit | 8d1d9eb6de37331e872700e9e399a3190cca1242 (patch) | |
tree | 87c575a649c20cfca8f7b4a0490235fcd83f5c96 | |
parent | eb4362e5e3aa7ac26138b11e44d8c191910aff64 (diff) | |
download | openssh-git-8d1d9eb6de37331e872700e9e399a3190cca1242.tar.gz |
upstream: Mention using ssh -i for specifying the public key file
in the case where the private key is loaded into ssh-agent but is not present
locally. Based on patch from rafork via github PR#215, ok jmc@
OpenBSD-Commit-ID: 2282e83b0ff78d2efbe705883b67240745fa5bb2
-rw-r--r-- | ssh.1 | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh.1,v 1.425 2021/07/28 05:57:42 jmc Exp $ -.Dd $Mdocdate: July 28 2021 $ +.\" $OpenBSD: ssh.1,v 1.426 2021/09/03 07:27:03 dtucker Exp $ +.Dd $Mdocdate: September 3 2021 $ .Dt SSH 1 .Os .Sh NAME @@ -288,6 +288,10 @@ authentication. .It Fl i Ar identity_file Selects a file from which the identity (private key) for public key authentication is read. +You can also specify a public key file to use the corresponding +private key that is loaded in +.Xr ssh-agent 1 +when the private key file is not present locally. The default is .Pa ~/.ssh/id_dsa , .Pa ~/.ssh/id_ecdsa , |