Glossary

What is an SSH config file?

An SSH config file is a plain text file that remembers how to reach your machines. Instead of typing ssh -i ~/.ssh/id_ed25519 parsa@100.96.237.43, you write it once and type ssh mini.

Where it lives

SSH config file location by system
SystemPath
macOS and Linux~/.ssh/config
WindowsC:\Users\<you>\.ssh\config
  • macOS and Linux

    Path
    ~/.ssh/config
  • Windows

    Path
    C:\Users\<you>\.ssh\config

The file has no extension. Create it if it doesn't exist.

What goes in it

Host mini
  HostName 100.96.237.43
  User parsa
  IdentityFile ~/.ssh/id_ed25519
  • Host: the short name you'll type.
  • HostName: the real address, an IP or a domain name.
  • User: the account on that machine.
  • IdentityFile: which private key to use.

Common mistakes

  • Sharing the wrong key file. Share only the .pub file. The file without .pub is your private key.
  • Windows key permissions. OpenSSH on Windows refuses a private key other users can read. Fix it with icacls.
  • Opening port 22 to the internet to reach a home machine. Use Tailscale instead.

Where Pane fits

Pane connects to your machines over Tailscale or SSH, then gives you their terminals, files, dev servers and agents from any device. Use your computer from any device

来源

勘误
如果这里有任何错误或过时的内容,请告诉我们,我们会修正并更新顶部的日期。 在 GitHub 上提交 issue
来源
或
下载*
Windows SmartScreen 警告Pane 尚未签名,直接下载时可能会出现 SmartScreen 警告。 Pane 完全开源,你可以审查代码,也可以自己从源码构建。1. 点击“更多信息”2. 点击“仍要运行”3. 继续安装用 PowerShell 安装会直接下载官方版本,避开大多数浏览器下载限制。npm 全局安装
把它粘贴到 PowerShell 中。Linux

作者 Parsa Khazaeepoul,Pane 联合创始人。 .