Pragma Systems Technical Forum

Authenticated with partial success

https://forums.pragmasys.com/Topic483.aspx

By stephencky - 3/27/2019 4:09:55 AM

Dears,

I got a issue when connecting to Pragma FortressSSH 5.0.10.1027 via sFTP other platform that does not support password authentication, with the following debug log after the host key verification successful:

debug1: Found key in /home/ABCSFTPR/.ssh/known_hosts:31
debug2: bits set: 1579/3072         
debug2: set_newkeys: mode 1         
debug1: SSH2_MSG_NEWKEYS sent        
debug1: expecting SSH2_MSG_NEWKEYS       
debug1: SSH2_MSG_NEWKEYS received       
debug2: set_newkeys: mode 0         
debug1: SSH2_MSG_SERVICE_REQUEST sent      
debug2: service_accept: ssh-userauth      
debug1: SSH2_MSG_SERVICE_ACCEPT received     
debug2: key: /home/ABCSFTPR/.ssh/id_rsa (2002ec10),           
debug2: key: /home/ABCSFTPR/.ssh/id_dsa (20024e30),           
debug2: key: /home/ABCSFTPR/.ssh/id_ecdsa (0),            
debug2: key: /home/ABCSFTPR/.ssh/id_ed25519 (0),            
debug1: Authentications that can continue: publickey          
debug3: start over, passed a different list publickey          
debug3: preferred publickey                   
debug3: authmethod_lookup publickey                
debug3: remaining preferred:                  
debug3: authmethod_is_enabled publickey               
debug1: Next authentication method: publickey             
debug1: Offering RSA public key: /home/ABCSFTPR/.ssh/id_rsa        
debug3: send_pubkey_test                    
debug2: we sent a publickey packet, wait for reply           
debug1: Server accepts key: pkalg ssh-rsa blen 535           
debug2: input_userauth_pk_ok: fp SHA256:l9ANIjRu4BbmNu2fQAnyZRyPfCTj3g3Gfwrg5qHb7ZQ
debug3: sign_and_send_pubkey: RSA SHA256:l9ANIjRu4BbmNu2fQAnyZRyPfCTj3g3Gfwrg5qHb7ZQ
Authenticated with partial success.                
debug2: key: /home/ABCSFTPR/.ssh/id_rsa (0),        
debug2: key: /home/ABCSFTPR/.ssh/id_dsa (0),      
debug2: key: /home/ABCSFTPR/.ssh/id_ecdsa (0),      
debug2: key: /home/ABCSFTPR/.ssh/id_ed25519 (0),     
debug1: Authentications that can continue: keyboard-interactive
debug3: start over, passed a different list keyboard-interactive
debug3: preferred publickey            
debug1: No more authentication methods to try.      
Permission denied (keyboard-interactive).             

In the Pragma setting (Local Server Configuration -> Authentication), password box is already unchecked in the "Methods allowed". May I know if there is other option should be disabled such that Pragma will not ask for password again?

Stephen
By Technical Support Group (TSG) - 3/27/2019 9:05:55 AM

Hello,

The prompt you are getting is not for password authentication, but for the feature to store the cache the password or automatically store the key. This is shown by the message "authenticated with partial success".

You can remove this feature by going to the Authentication -> Password Options page and set the drop down box to "Never". And on the Authentication->Public Key Options page, make sure that "Automatically store keys in registry" and "Store keys in authorized file" are off.