The -p option for sshd(8) seems to be ignored in OpenSSH_9.2

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Greetings.

It used to be possible to spin up additional instances of sshd(8) next to an established process with options to override the configuration file. However, in the most recent version of sshd(8) in the OpenBSD snapshot for amd64 does not do that any more as it seems to not accept a new port assignment and ends up conflicting with the already running service:

# /usr/sbin/sshd -p 2201 -d
debug1: sshd version OpenSSH_9.2, LibreSSL 3.7.1
debug1: private host key #0: ssh-rsa SHA256:7tXl2Q...
debug1: private host key #1: ecdsa-sha2-nistp256 SHA256:t9pNvmtPBL1aF...
debug1: private host key #2: ssh-ed25519 SHA256:T0IGk...
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-p'
debug1: rexec_argv[2]='2201'
debug1: rexec_argv[3]='-d'
debug1: Bind to port 22 on 10.100.100.1.
Bind to port 22 on 10.100.100.1 failed: Address already in use.
debug1: Bind to port 2223 on 0.0.0.0.
Bind to port 2223 on 0.0.0.0 failed: Address already in use.
Cannot bind any address.

# /usr/sbin/sshd -V
OpenSSH_9.2, LibreSSL 3.7.1

Regards,
Lars
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux