summaryrefslogtreecommitdiffstats
path: root/ssh_config.5
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2022-11-07 11:09:28 +0100
committerDarren Tucker <dtucker@dtucker.net>2022-11-07 12:22:18 +0100
commit21625a6424258a92a96a3bb73ae6aabc5ed8a6b4 (patch)
tree6b56e947f6ecc8bba39b5ca7e35c90c8ad4cc1be /ssh_config.5
parentupstream: Remove some set but otherwise unused variables, spotted (diff)
downloadopenssh-21625a6424258a92a96a3bb73ae6aabc5ed8a6b4.tar.xz
openssh-21625a6424258a92a96a3bb73ae6aabc5ed8a6b4.zip
upstream: The IdentityFile option in ssh_config can also be used to
specify a public key file, as documented in ssh.1 for the -i option. Document this also for IdentityFile in ssh_config.5, for documentation completeness. From laalsaas at systemli.org via portable github PR#352, ok jmc@ djm@ OpenBSD-Commit-ID: 2f943be9f96e60ef81a9a4faa25b009999f9883b
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.58
1 files changed, 6 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index d1ede18e7..f6fa33ce0 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -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_config.5,v 1.374 2022/09/17 10:33:18 djm Exp $
-.Dd $Mdocdate: September 17 2022 $
+.\" $OpenBSD: ssh_config.5,v 1.375 2022/11/07 10:09:28 dtucker Exp $
+.Dd $Mdocdate: November 7 2022 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -1011,6 +1011,10 @@ section.
.It Cm IdentityFile
Specifies a file from which the user's DSA, ECDSA, authenticator-hosted ECDSA,
Ed25519, authenticator-hosted Ed25519 or RSA authentication identity 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_rsa ,
.Pa ~/.ssh/id_ecdsa ,