by shigemk2

当面は技術的なことしか書かない

ssh configで使えるパラメータ

こんなところ

%% A literal ‘%’.
%C Hash of %l%h%p%r.
%d Local user's home directory.
%h The remote hostname.
%i The local user ID.
%L The local hostname.
%l The local hostname, including the domain name.
%n The original remote hostname, as given on the command line.
%p The remote port.
%r The remote username.
%T The local tun(4) or tap(4) network interface assigned if tunnel forwarding was requested, or "NONE" otherwise.
%u The local username.

ssh_config(5) - OpenBSD manual pages