• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Not using private key file

Community Beginner ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

This concerns Dreamweaver v 23.1 on Windows 10. I just installed Windows latest update yesterday. A description of the problem is below. To replicate-

-set up a remote server using SFTP

-use private key authentication

-enter the correct user name

-enter the correct password

-select the correct private key file

-attempt to put files to the server or to connect to the server

Expected result is a connection to the server (has worked for years using same info). Actual result is an FTP error "cannot make connection to the host. Your login or password is incorrect. Please check your connection information". 

 

Starting today, after updating to the newest version of Dreamweaver, on Windows 10, I am getting an FTP error when I try to connect by SFTP to my remote web server. It tells me that my password and login are incorrect. This is not the case. My login credentials and my private key are correct.  My private key is stored on my E drive. It is a .pem key that has worked for years. I have tried the ppk version of my key on FileZilla, and it works. 

I think that Dreamweaver is not picking up the file. Below is the bottom portion of my SFTP log file. My private key is on my E drive. It's locaction is E:\************.pem (with the wildcards representing the actual file name). Notice how my log file seems to only pick up my E drive, and not the rest of the file path.

fopen ~/.ssh/known_hosts: No such file or directory
fopen ~/.ssh/known_hosts2: No such file or directory
fopen /etc/ssh/ssh_known_hosts: No such file or directory
fopen /etc/ssh/ssh_known_hosts2: No such file or directory
Could not create directory '~/.ssh' (No such file or directory).
Failed to add the host to the list of known hosts (~/.ssh/known_hosts).
send packet: type 21
set_newkeys: mode 1
rekey out after 134217728 blocks
SSH2_MSG_NEWKEYS sent
expecting SSH2_MSG_NEWKEYS
receive packet: type 21
SSH2_MSG_NEWKEYS received
set_newkeys: mode 0
rekey in after 134217728 blocks
Will attempt key: E explicit
done
send packet: type 5
receive packet: type 7
SSH2_MSG_EXT_INFO received
server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
receive packet: type 6
service_accept: ssh-userauth
SSH2_MSG_SERVICE_ACCEPT received
send packet: type 50
receive packet: type 51
Authentications that can continue: publickey
start over, passed a different list publickey
preferred publickey,password
authmethod_lookup publickey
remaining preferred: password
authmethod_is_enabled publickey
Next authentication method: publickey
Trying private key: E
we did not send a packet, disable method
No more authentication methods to try.

According to the log file, my server is running OpenSSH 7.4 and my local OpenSSH is version 8.8.

Bug Unresolved
TOPICS
Other , Product issue , Publish

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
35 Comments
Community Beginner ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Downgrading to the last version fixed the problem. V 21.3 has something wrong with it.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Sorry, version 23.1. It is not using my private key.

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

Are you using the new protocol OpenSSH with a .pem key file?

 

See below for more details:

Dreamweaver is now integrated with the following third-party library upgrades and bug fixes:
  • OpenSSH: Upgraded version 8.8 enhances security for SFTP connections. If your remote server is configured with old protocols, use this workaround for successful SFTP connections. 
  • OpenSSL: Upgraded version 1.1.1n enhances FTPS (explicit and implicit) connections.
  • LibCurl: Upgraded version 7.80 enhances connectivity to FTP, FTP (explicit and implicit), and WebDAV connections.

 

Hope that helps.

 

[Moderator moved from Bugs to Discussions.]

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

quote

V 21.3 has something wrong with it.


By @Renaissance501

==========

No, nothing is wrong except your server hasn't been updated to new OpenSSH security protocol.  You may wish to light a fire under your hosting provider about it.  Your topic has been moved from DW Bugs to Discussions.

 

In the meantime, you can roll back to old legacy protocols.  But IMO that's not a good long term solution.  Security updates are very important.

https://helpx.adobe.com/dreamweaver/kb/troubleshoot-sftp-server-connection-issues.html

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

There is nothing wrong with my server. I am not getting the error that is shown in that link. OpenSSH 7.4 is compatible with OpenSSH 8.8. The algorithms that have been removed will only affect OpenSSH versions previous to version 7.2.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I need this moved back to bugs.

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

Can you connect to your server with free FileZilla SFTP client?

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I can connect using the last version of Dreamweaver and FileZilla. Something breaks with Dreamweaver version 23.1. It looks to me like Dreamweaver is not picking up the full path of my .pem SSH key. If you look at that log, it has the key listed as "E". My key is on the E drive, and that is correct, but it doesn't have the actual key. I have tested this by putting my key in a folder on my C drive. It does the same thing. The private key is merely listed as "C", with the rest of the file path missing.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I'm perplexed as to why others aren't having this issue.

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

quoteThe private key is merely listed as "C", with the rest of the file path missing.

By @Renaissance501

=========

Did you Restore Preferences yet?

https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

 

Did you manually type the .pem key path or did you browse to it?

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I will try the preferences fix. In my server settings for the remote server in question, I navigate to the folder where the .pem file is stored, and then I select the .pem file. It is loaded in my server settings with the full file path. My SFTP has worked for years, doing this. If you look at the log I copied and pasted under "try private key" you will see that the private key is listed as "E". That is my E drive, where the .pem key is stored. It doesn't have the rest of the file path. When I move the .pem file to a folder on my C drive, in does the same thing. It merely says "C", without the rest of the path

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

That's why I said Restore Preferences.  You may have a corrupted site definition.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

Resetting preferences did me no good. Same exact error and now I have a much less appealing UI.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I think it is possible that my error is somehow tied to these files that it is trying to open on my log file. It seems to me that the most obvious problem is the private key file. If I were to look at a second place, it would be those files

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I am speaking of this-

 

fopen ~/.ssh/known_hosts: No such file or directory
fopen ~/.ssh/known_hosts2: No such file or directory
fopen /etc/ssh/ssh_known_hosts: No such file or directory
fopen /etc/ssh/ssh_known_hosts2: No such file or directory
Could not create directory '~/.ssh' (No such file or directory).
Failed to add the host to the list of known hosts (~/.ssh/known_hosts)

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

I just downgraded again and I got the UI that I like back. One thing that I notice is that on version 23.1, I have an SFTP folder in my configuration folder, and this folder isn't there on the previous version.

 

I am still puzzled as to why others have not had this error. I think this definitely needs moved back into bugs. Thank you for all of your help. This is a tough one.

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 17, 2022 Jul 17, 2022

Copy link to clipboard

Copied

You just wiped your preferences so that removed everything, 

 

In any case, it's possible you just have a bad installation.  It happens. Use the Adobe CC cleaner tool to remove it and reinstall.  Or stick with the previous version.  Your choice.

https://helpx.adobe.com/creative-cloud/kb/cc-cleaner-tool-installation-problems.html

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 18, 2022 Jul 18, 2022

Copy link to clipboard

Copied

I don't think it is a bad installation. In that case, the previous versions would not have worked all these years. I don't want to be perpetually stuck on older versions, although for now that works. This needs to be moved back to bugs. 

Votes

Translate

Translate

Report

Report
Community Expert ,
Jul 18, 2022 Jul 18, 2022

Copy link to clipboard

Copied

Every install is separate.  Sometimes downloads become corrupted. 

 

CONTACT ADOBE SUPPORT:
================
Online Chat: https://helpx.adobe.com/contact.html?rghtup=autoOpen
Phone M-F, during normal business hours: https://helpx.adobe.com/contact/phone.html

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 19, 2022 Jul 19, 2022

Copy link to clipboard

Copied

I've downloaded it several times and it's the same thing every time. If I knew which file(s) of your source code execute the sftp request, I could look at it myself. I'm not sure what adobe support can do for me but I may try them. I may also get a different server. It is either the files that it is trying to create or my private key. Of this I am very certain.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jul 25, 2022 Jul 25, 2022

Copy link to clipboard

Copied

Hi @Renaissance501,

 

Thanks for writing to us. Can you please try the below:

1. Quit Dw

2. Replace the content with the below entries in the config file present within the folder "/Users/<username>/Library/Application\ Support/Adobe/Dreamweaver 2021/<locale>/Configuration/SFTP/".

 

HostkeyAlgorithms +ssh-rsa,ssh-dss,rsa-sha2-256,rsa-sha2-512
PubkeyAcceptedAlgorithms +ssh-rsa,ssh-dss,rsa-sha2-256,rsa-sha2-512
PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss,rsa-sha2-256,rsa-sha2-512

 

3. Save and close the file

 

Please be aware that this issue could be due to server using older deprecated protocols(per OpenSSH standards) and hence there could be other reasons for the connectivity failure which we will further debug in case the above doesn't works.

 

Have a pleasant day!

 

Regards,

Nayan

Dreamweaver Team

Votes

Translate

Translate

Report

Report
New Here ,
Aug 22, 2022 Aug 22, 2022

Copy link to clipboard

Copied

I'm facing the exact same issue with the latest version of DW. Also tried all of the suggested solutions, they didn't work. Only downgrading works for now.

Votes

Translate

Translate

Report

Report
Community Expert ,
Aug 22, 2022 Aug 22, 2022

Copy link to clipboard

Copied

@Cristina25579426utrb 

Did you contact your hosting provider to ensure servers are compatible with new security connections?

https://helpx.adobe.com/dreamweaver/using/whats-new/2022-1.html

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
New Here ,
Aug 27, 2022 Aug 27, 2022

Copy link to clipboard

Copied

I'm having an identical issue with 21.3.

 

My .ppk still works fine in every other client, but the .pem I'ved used with Dreamweaver for over a year stopped working. My logfile looks almost identical to @Renaissance501's.

Votes

Translate

Translate

Report

Report