mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
- (dtucker) [regress/cfgmatch.sh] Resync config file setup with openbsd.
This commit is contained in:
parent
8654dd2d73
commit
7f19323659
@ -76,6 +76,7 @@
|
|||||||
mean that the tests flip bits in the initial exchange rather than the MACed
|
mean that the tests flip bits in the initial exchange rather than the MACed
|
||||||
traffic and we get different errors to what the tests look for.
|
traffic and we get different errors to what the tests look for.
|
||||||
- (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits.
|
- (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits.
|
||||||
|
- (dtucker) [regress/cfgmatch.sh] Resync config file setup with openbsd.
|
||||||
|
|
||||||
20130516
|
20130516
|
||||||
- (djm) [contrib/ssh-copy-id] Fix bug that could cause "rm *" to be
|
- (djm) [contrib/ssh-copy-id] Fix bug that could cause "rm *" to be
|
||||||
|
@ -40,15 +40,15 @@ stop_client()
|
|||||||
}
|
}
|
||||||
|
|
||||||
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
|
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
|
||||||
grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
|
|
||||||
echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
|
|
||||||
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config
|
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config
|
||||||
echo "Match user $USER" >>$OBJ/sshd_proxy
|
|
||||||
echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
|
|
||||||
echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
|
echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
|
||||||
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config
|
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config
|
||||||
|
|
||||||
|
grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
|
||||||
|
echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
|
||||||
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy
|
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy
|
||||||
|
echo "Match user $USER" >>$OBJ/sshd_proxy
|
||||||
|
echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
|
||||||
echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy
|
echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy
|
||||||
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy
|
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user