# PAM authentication, then enable this but set PasswordAuthentication # If you just want the PAM account and session checks to run without # the setting of "PermitRootLogin without-password". # PAM authentication via ChallengeResponseAuthentication may bypass # be allowed through the ChallengeResponseAuthentication and If this is enabled, PAM authentication will # Set this to 'yes' to enable PAM authentication, account processing, Subsystem sftp /usr/lib/openssh/sftp-server -l INFO # Allow client to pass locale environment variables # Change to no to disable tunnelled clear text passwords # Change to yes to enable challenge-response passwords (beware issues with # To enable empty passwords, change to yes (NOT RECOMMENDED) # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication # For this to work you will also need host keys in /etc/ssh_known_hosts # Don't read the user's ~/.rhosts and ~/.shosts files #AuthorizedKeysFile %h/.ssh/authorized_keys # Lifetime and size of ephemeral version 1 server key #Privilege Separation is turned on for security # Use these options to restrict which interfaces/protocols sshd will bind to # What ports, IPs and protocols we listen for # See the sshd_config(5) manpage for details SSHD_CONFIG for server im trying to connect to. I manually specified this file, and then it worked fine.While trying to SFTP in to my server i get debug1: Authentications that can continue: publickey,passwordĮven though i am using the right password. After a few attempts I realized CyberDuck did not find my private key, since this file i stored without file extension in Windows. Looks fishy…Įdit2: Tried with CyberDuck in Windows 11. However server refuses to use this method, but the previous line states it is supported. * 06:49:17.564 No supported authentication methods available (server sent: publickey,keyboard-interactive)įor some reason it seems like the publickey authentication fails and WinScp tries with keyboard interactive authentication. 06:49:17.564 Attempt to close connection due to fatal exception: 06:49:17.564 No supported authentication methods available (server sent: publickey,keyboard-interactive) 06:49:17.564 Server offered these authentication methods: publickey,keyboard-interactive 06:49:17.564 Server refused keyboard-interactive authentication 06:49:17.564 Waiting for the server to continue with the initialization 06:49:17.555 Attempting keyboard-interactive authentication 06:49:17.555 Server offered these authentication methods: publickey,keyboard-interactive 06:49:17.555 Waiting for the server to continue with the initialization 06:49:17.522 Waiting for the server to continue with the initialization Now I have a workaround until I figure out why WinScp fails.Įdit: WinScp logs gives the following info. I haven’t had any problem with WinScp before. It turns out both scp and sftp works fine from command line! So obviously my problem is related to WinScp, not the server in HA. Now I’m back again and made some tests from command line. I was about to leave my home for a couple of days, and wanted to have sftp in place to be able to solve any potential issues during my abscence. First I want to apologies I was a bit eager to find a solution for my problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |