mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-12 18:42:48 +08:00
update2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
25790a45c5
commit
fac174d981
2
Makefile
2
Makefile
@ -117,7 +117,7 @@ ssh-server:
|
|||||||
rm -rf /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_dsa_key
|
rm -rf /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_dsa_key
|
||||||
sed -i 's/^#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config
|
sed -i 's/^#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config
|
||||||
sed -i 's/AllowTcpForwarding no/AllowTcpForwarding yes/g' /etc/ssh/sshd_config
|
sed -i 's/AllowTcpForwarding no/AllowTcpForwarding yes/g' /etc/ssh/sshd_config
|
||||||
grep -Ri ListenAddress /etc/ssh/
|
cp -r tests/ipv6.conf /etc/ssh/sshd_config.d/ipv6.conf
|
||||||
./tests/entrypoint.sh /usr/sbin/sshd -D &
|
./tests/entrypoint.sh /usr/sbin/sshd -D &
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
|
2
tests/ipv6.conf
Normal file
2
tests/ipv6.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ListenAddress 0.0.0.0
|
||||||
|
ListenAddress ::
|
Loading…
Reference in New Issue
Block a user