Displaying 2 results from an estimated 2 matches for "known_hosts_fil".
Did you mean:
known_hosts_file
2018 Jan 02
3
Restricting port forwarding on remote server
> From: Juanito <juam at posteo.net>
>
> If I create a tunnel like this from the client side,
>
> ssh -nNTv -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o
IdentitiesOnly=yes -o UserKnownHostsFile=$known_hosts_file -i
/etc/sshquare/id_rsa -R $port:localhost:22 $user@$host
>
> would it be possible on the server side to restrict $port to say 10000
> and deny it on all other ports. In a way that $user is only allowed to
> forward a local port and bind it to 0.0.0.0:10000 but nowhere else.
>...
2019 Oct 20
5
[Bug 3083] New: Passing tilde (HOME) in file option results in cryptic error
...(2, "mkstemp: No such file or directo"..., 36mkstemp: No such
file or directory
Please notice the temporary file being created at
"~/.ssh/known_hosts.TgA5TDcI46"?
Looks like a tilde expansion failure (or lack thereof).
ssh-keygen(8) has this to say about the specification of
`known_hosts_file`: (*nothing*)
I've searched the unix-dev mailing list, patch history, bugzilla
(keywords: mktemp, tilde)
Introduction of breakage appears to be here:
commit 3e088aaf236ef35beeef3c9be93fd53700df5861
Author: djm at openbsd.org <djm at openbsd.org>
Date: Fri Jun 1 03:51:34 2018 +0000...