]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Mention using ssh -i for specifying the public key file
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 3 Sep 2021 07:27:03 +0000 (07:27 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 3 Sep 2021 07:33:08 +0000 (17:33 +1000)
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

ssh.1

diff --git a/ssh.1 b/ssh.1
index 77502515b6a6b460f87b9cf8a278a773fed7e786..2e009b2565367d5990c74bf29aa209c5a5afc2a4 100644 (file)
--- a/ssh.1
+++ b/ssh.1
@@ -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 ,