View Issue Details

IDProjectCategoryView StatusLast Update
0004284Kali LinuxGeneral Bugpublic2017-10-03 09:27
Reporterlnxg33k Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0004284: SSH bind to a single address "ListenAddress"
Description

If I have more than a network interface, and I set ListenAddress to anything but 0.0.0.0

sshd will throw an error error: Bind to port xxxx on x.x.x.x failed: Cannot assign requested address.

I am using a static IP address and not pulling from the DHCB.
I am using the LXDE version of Kali.

Steps To Reproduce
  1. open /etc/ssh/sshd_config
  2. change ListenAddress 0.0.0.0 to ListenAddress x.x.x.x
  3. reload ssh
Additional Information

root@debian:~# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2017.2"
VERSION_ID="2017.2"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.kali.org/"
SUPPORT_URL="http://forums.kali.org/"
BUG_REPORT_URL="http://bugs.kali.org/"

Activities

rhertzog

rhertzog

2017-10-03 08:03

administrator   ~0007449

This is unlikely to be specific to Kali Linux and we will not investigate this for you. Please get help on forums or IRC instead.

lnxg33k

lnxg33k

2017-10-03 08:07

reporter   ~0007450

I just wanted to comment on this and not to reopen it, I didn't ask for a forum help, I already fixed it for myself :). I though it maybe convenient for you guys to roll out a patch for it.

Anyway, good day.

rhertzog

rhertzog

2017-10-03 08:22

administrator   ~0007451

So what was the issue and what was the fix?

What patch are you suggesting?

lnxg33k

lnxg33k

2017-10-03 08:30

reporter   ~0007452

https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/216847

rhertzog

rhertzog

2017-10-03 09:27

administrator   ~0007453

Thanks, closing again as this is not something where I want to diverge from Debian. But you can also fix it up yourself by adding more dependencies on the ssh.service unit to actually adapt to your change.

Issue History

Date Modified Username Field Change
2017-10-03 07:11 lnxg33k New Issue
2017-10-03 08:03 rhertzog Assigned To => rhertzog
2017-10-03 08:03 rhertzog Status new => closed
2017-10-03 08:03 rhertzog Resolution open => won't fix
2017-10-03 08:03 rhertzog Note Added: 0007449
2017-10-03 08:07 lnxg33k Status closed => feedback
2017-10-03 08:07 lnxg33k Resolution won't fix => reopened
2017-10-03 08:07 lnxg33k Note Added: 0007450
2017-10-03 08:22 rhertzog Note Added: 0007451
2017-10-03 08:30 lnxg33k Note Added: 0007452
2017-10-03 08:30 lnxg33k Status feedback => assigned
2017-10-03 09:27 rhertzog Status assigned => closed
2017-10-03 09:27 rhertzog Resolution reopened => won't fix
2017-10-03 09:27 rhertzog Note Added: 0007453