Config ssh in Win

Text Only
1
2
3
4
Host <remote host name-just you like>
    HostName <remote host ip>
    User <remote user, usually 'root'>
    IdentityFile <your private rsa key, My location is 'C:/Users/A/.ssh/id_rsa'>

Then upload your public rsa key in remote server.

Bash
ssh <remote host name>

最后更新: April 1, 2024
创建日期: September 24, 2023