Skip to main content

SFTP Extension and SSH Settings

caution

After changing the password in the Dreamhost panel, I was able to connect with ssh my-login@my-host.com comand.

But until I did this, I copied/pasted the keys manually through the file manager.

Make a pair of keys

See SSH setup.

Last time I made them like this: help.dreamhost.com: How To Configure Passwordless Login In Mac OS X And Linux).

Another article: mah.everybody.org: Using ssh-agent with ssh may be help.

Copy/past a pub key

Copy/past the contents of the pub key into the file /home/papa31/.ssh/authorized_keys on the dreamhost server:

caution

On Windows, it works in the Git-Bash terminal.

cat ~/.ssh/id_rsa_your_new_connection.pub | ssh you@remote 'cat - >> ~/.ssh/authorized_keys'
note

If you can't deliver the pub key via command, try do this manually through the web-based FTP client (File Manager).

Connect to Dreamhost

Setup sftp.json config file

  • Don't change the settings file: F:\Yandex.Disk-visi\english-polyglot\english-polyglot.com\.vscode\sftp.json

  • All you have to do is make sure that you have done your job correctly (especially when copying/pasting the contents of the pub key)