User Details
User Details
- User Since
- Apr 10 2020, 1:52 PM (206 w, 5 d)
Apr 10 2020
Apr 10 2020
cse342 added a comment to T1866: Commit archive over SFTP doesn't work with non-standard ports.
I did dive a bit deeper in this issue and found another workaround.
It seems to only occur when a sftp or scp host is specified with a different port than the default port.
The command "ssh-keyscan" is provided with the host in form of "hostname:port" which it doesn't resolve to an ssh-rsa key.
ssh-keyscan needs apparently the option "-p PORT" in order to write the host key of the remote sftp/scp server to the known hosts file.
To add a host to the known hosts file I ran the following command: