Bug#265501: ssh: ProtocolKeepAlives is applied for host * even if defined for one host
Package: ssh
Version: 1:3.8.1p1-8
Severity: normal
with this config :
ssh test.com gives a keepalive every 10 sec...
it should be only for poto.sytes.net
Host poto.sytes.net
user xv
ProtocolKeepAlives 10
port 32000
Host *
ForwardAgent no
ForwardX11 yes
Compression yes
CompressionLevel 6
NumberOfPasswordPrompts 6
UsePrivilegedPort no
Protocol 2,1
StrictHostKeyChecking no
LogLevel info
IdentityFile /home/xavier/.ssh/id_dsa
#LogLevel DEBUG
HostKeyAlgorithms ssh-dss,ssh-rsa
#SetupTimeOut 50
ProtocolKeepAlives 0
ServerAliveInterval 0
Cipher blowfish
KeepAlive no
TCPKeepAlive no
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable'), (250, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-ck6.ws.p4.ck6
Locale: LANG=C, LC_CTYPE=en_US
Versions of packages ssh depends on:
ii adduser 3.57 Add and remove users and groups
ii debconf 1.4.30 Debian configuration management sy
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7d-4 SSL shared libraries
ii libwrap0 7.6.dbs-4 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- debconf information:
ssh/insecure_rshd:
ssh/privsep_ask: true
* ssh/user_environment_tell:
* ssh/forward_warning:
ssh/insecure_telnetd:
ssh/new_config: true
* ssh/use_old_init_script: true
* ssh/SUID_client: true
* ssh/privsep_tell:
ssh/ssh2_keys_merged:
* ssh/protocol2_only: true
ssh/encrypted_host_key_but_no_keygen:
* ssh/run_sshd: true
Reply to: