seth-shi

seth-shi

The key generated by ssh-keygen cannot be used for remote connections, Sourcetree cannot operate remote repositories.

Xshell#

Recently, directly using the command:
ssh-keygen generated private keys cannot be imported for use in Xshell

Generate keys using the new command

  • rsa represents using the rsa encryption method
    sssh-keygen -m PEM -t rsa

Sourcetree#

  • If keys are configured, Sourcetree has been unable to operate remote repositories
  • Tools -> Options -> General

Select OpenSSH and then select the id_rsa private key in your user directory to resolve the issue.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.