Hello,
I am on windows machine with WSL. I like to copy some files to shared hosting remote server using rsync. I get the below error when I attempt to do it:
$ rsync -ahP src [email protected] public_html/test
Unable to negotiate with xx.xx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,[email protected],ssh-dss,[email protected]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]
Launched Putty
Connected to the remote server where user name was cpanel user name.
I have two folders: src and dest in this directory
C:\...\mysite\rsync
Launched command prompt
Typed: wsl
CDed to this directory C:\...\mysite\rsync
Typed: rsync -ahP src [email protected] public_html/test
I expected the src folder to be copy over to public_html/test directory but I get the above error and nothing was transferred to the target directory. How can I transfer file from local windows machine to remote server?
I am on windows machine with WSL. I like to copy some files to shared hosting remote server using rsync. I get the below error when I attempt to do it:
$ rsync -ahP src [email protected] public_html/test
Unable to negotiate with xx.xx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,[email protected],ssh-dss,[email protected]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]
Launched Putty
Connected to the remote server where user name was cpanel user name.
I have two folders: src and dest in this directory
C:\...\mysite\rsync
Launched command prompt
Typed: wsl
CDed to this directory C:\...\mysite\rsync
Typed: rsync -ahP src [email protected] public_html/test
I expected the src folder to be copy over to public_html/test directory but I get the above error and nothing was transferred to the target directory. How can I transfer file from local windows machine to remote server?
Last edited: