Ok for clarification "my version" is sshd compiled from current github
source, or at least from a couple of days ago, your version is the
current version for the standard ubuntu release without the extended
maintenance in 24.04.

I am not invoking with ssh -t so not sure why the session error, but
that's on my compiled version, it may related to not compiling in pam
support.

Output of ssh -G:

port 22                                                                         
addressfamily any                                                               
listenaddress [::]:22                                                           
listenaddress 0.0.0.0:22                                                        
usepam yes                                                                      
logingracetime 120                                                              
x11displayoffset 10                                                             
maxauthtries 6                                                                  
maxsessions 10                                                                  
clientaliveinterval 0                                                           
clientalivecountmax 3                                                           
requiredrsasize 1024                                                            
streamlocalbindmask 0177                                                        
unusedconnectiontimeout none                                                    
permitrootlogin yes                                                             
ignorerhosts yes                                                                
ignoreuserknownhosts no                                                         
hostbasedauthentication no                                                      
hostbasedusesnamefrompacketonly no                                              
pubkeyauthentication yes                                                        
kerberosauthentication no                                                       
kerberosorlocalpasswd yes                                                       
kerberosticketcleanup yes                                                       
gssapiauthentication no                                                         
gssapicleanupcredentials yes                                                    
gssapikeyexchange no                                                            
gssapistrictacceptorcheck yes                                                   
gssapistorecredentialsonrekey no                                                
gssapikexalgorithms 
gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1-
                         
passwordauthentication yes                                                      
kbdinteractiveauthentication no                                                 
printmotd no                                                                    
printlastlog yes                                                                
x11forwarding yes                                                               
x11uselocalhost yes                                                             
permittty yes                                                                   
permituserrc yes                                                                
strictmodes yes                                                                 
tcpkeepalive yes                                                                
permitemptypasswords no                                                         
compression yes                                                                 
gatewayports no                                                                 
usedns no                                                                       
allowtcpforwarding yes                                                          
allowagentforwarding yes
root@igloo:~# sshd -G
port 22
addressfamily any
listenaddress [::]:22
listenaddress 0.0.0.0:22
usepam yes
logingracetime 120
x11displayoffset 10
maxauthtries 6
maxsessions 10
clientaliveinterval 0
clientalivecountmax 3
requiredrsasize 1024
streamlocalbindmask 0177
unusedconnectiontimeout none
permitrootlogin yes
ignorerhosts yes
ignoreuserknownhosts no
hostbasedauthentication no
hostbasedusesnamefrompacketonly no
pubkeyauthentication yes
kerberosauthentication no
kerberosorlocalpasswd yes
kerberosticketcleanup yes
gssapiauthentication no
gssapicleanupcredentials yes
gssapikeyexchange no
gssapistrictacceptorcheck yes
gssapistorecredentialsonrekey no
gssapikexalgorithms 
gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1-
passwordauthentication yes
kbdinteractiveauthentication no
printmotd no
printlastlog yes
x11forwarding yes
x11uselocalhost yes
permittty yes
permituserrc yes
strictmodes yes
tcpkeepalive yes
permitemptypasswords no
compression yes
gatewayports no
usedns no
allowtcpforwarding yes
allowagentforwarding yes
disableforwarding no
allowstreamlocalforwarding yes
streamlocalbindunlink no
fingerprinthash SHA256
exposeauthinfo no
debianbanner yes
pidfile /run/sshd.pid
modulifile /etc/ssh/moduli
xauthlocation /usr/bin/xauth
ciphers 
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
macs 
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
banner /misc/sshd-private.msg
forcecommand none
chrootdirectory none
trustedusercakeys none
revokedkeys none
securitykeyprovider internal
authorizedprincipalsfile none
versionaddendum none
authorizedkeyscommand none
authorizedkeyscommanduser none
authorizedprincipalscommand none
authorizedprincipalscommanduser none
hostkeyagent none
kexalgorithms 
[email protected],curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms 
ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms 
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
hostkeyalgorithms 
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
pubkeyacceptedalgorithms 
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
loglevel INFO
syslogfacility AUTH
authorizedkeysfile .ssh/authorized_keys .ssh/authorized_keys2
hostkey /etc/ssh/ssh_host_rsa_key
hostkey /etc/ssh/ssh_host_ecdsa_key
hostkey /etc/ssh/ssh_host_ed25519_key
acceptenv LANG
acceptenv LC_*
authenticationmethods any
channeltimeout none
subsystem sftp /usr/lib/openssh/sftp-server 
maxstartups 10:30:100
persourcemaxstartups none
persourcenetblocksize 32:128
permittunnel no
ipqos lowdelay throughput
rekeylimit 0 0
permitopen any
permitlisten any
permituserenvironment no
pubkeyauthoptions none

    /usr/lib/systemd/system-generators/sshd-socket-generator /tmp/out
generated an error and there was nothiung in /tmp

 /usr/lib/systemd/system-generators/sshd-socket-generator /tmp/out
No custom listen addresses configured. Will not generated anything.

     And there was no file created in /tmp/out, no ssh.socket, nada.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2114144

Title:
  Openssh Server ignores Port xxx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2114144/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to