In the cmd prompt I tried to connect to my server via ssh with following command: ssh ubuntu@xx.xx.xx.xx
but an error message occured
C:\\Users\\jjid/.ssh/config: line 4: Bad configuration option: pubkeyacceptedalgorithms
C:\\Users\\jjid/.ssh/config: terminating, 1 bad configuration options
I checked ssh configuration file and the content,
Host yy.yy.yy.yy
KexAlgorithms +diffie-hellman-group1-sha1
HostKeyAlgorithms +ssh-rsa
PubKeyAcceptedAlgorithms +ssh-rsa
If I clear the file, ssh command works. But I must have that configuration.
How do I fix it?