summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-31 23:13:21 +1100
committerDamien Miller <djm@mindrot.org>2006-03-31 23:13:21 +1100
commit6b1d53c2b090130440c3459876c0033c4e5a466a (patch)
tree941e967011a9fd8bb22d796e4c91f515ab416bac /ssh_config.5
parent3f9418893e1254bda3b87e7d3af7029d11b0a6c7 (diff)
downloadopenssh-git-6b1d53c2b090130440c3459876c0033c4e5a466a.tar.gz
- djm@cvs.openbsd.org 2006/03/30 10:41:25
[ssh.c ssh_config.5] add percent escape chars to the IdentityFile option, bz #1159 based on a patch by imaging AT math.ualberta.ca; feedback and ok dtucker@
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.517
1 files changed, 15 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 5b02ef82..9c621336 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,7 +34,7 @@
.\" (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.89 2006/03/14 16:32:48 markus Exp $
+.\" $OpenBSD: ssh_config.5,v 1.90 2006/03/30 10:41:25 djm Exp $
.Dd September 25, 1999
.Dt SSH_CONFIG 5
.Os
@@ -548,8 +548,21 @@ and
for protocol version 2.
Additionally, any identities represented by the authentication agent
will be used for authentication.
+.Pp
The file name may use the tilde
-syntax to refer to a user's home directory.
+syntax to refer to a user's home directory or one of the following
+escape characters:
+.Ql %d
+(local user's home directory),
+.Ql %u
+(local user name),
+.Ql %l
+(local host name),
+.Ql %h
+(remote host name) or
+.Ql %h
+(remote user name).
+.Pp
It is possible to have
multiple identity files specified in configuration files; all these
identities will be tried in sequence.