  Eccentric mergers are a signature of the dynamical formation channel of
binary black holes (BBHs) in dense stellar environments and hierarchical triple
systems. Here, we investigate the production of eccentric mergers via
binary-single interactions, by means of $2.5\times10^{5}$ direct
$\textit{N}$-body simulations. Our simulations include post-Newtonian terms up
to the 2.5th order and are designed to reflect the environmental conditions of
young (YSCs), globular (GCs), and nuclear star clusters (NSCs). We find that
$0.6\%$ ($1\%$) of the mergers in NSCs (GCs) reach the coalescence with
eccentricity ${>0.1}$, while in YSCs only $0.08\%$ of the mergers is eccentric.
Approximately $\sim63\%$ of these events are produced by chaotic, resonant
interactions where temporary binaries are continuously formed and destroyed,
while $\sim31\%$ arise from prompt interactions where two black holes (BHs)
merge almost radially. Lastly, $\sim 6\%$ of these eccentric mergers occur in
temporary hierarchical triples. Binaries undergoing a flyby generally develop
smaller tilt angles with respect to exchanges, with the distribution that peaks
at $\sim15^{\circ}$ for the former, and $\sim90^{\circ}$ for the latter. This
result challenges the idea that dynamics produces perfectly isotropic spin
orientations. We further study the impact of the host star cluster on the
population of BBH mergers. The environment dramatically affects BH retention:
$0.8\%$, $12.5\%$, and $36.4\%$ of all the remnant BHs are retained in YSCs,
GCs, and NSCs, respectively. The fraction of massive BHs also depends on the
host cluster properties, with pair-instability ($60\leq\,$M$_{\rm
BH}$/M$_{\odot}\leq$100) and intermediate-mass (M$_{\rm
BH}\geq$100$\,$M$_{\odot}$) BHs accounting for approximately $\sim44\%$ and
$1.6\%$ of the mergers in YSCs, $\sim33\%$ and $0.7\%$ in GCs, and $\sim28\%$
and $0.4\%$ in NSCs.
