
Iterm2 shell integration 使用 download with scp 如何自定义 ssh 参数? 场景是这样的,我想使用 download with scp 直接从服务器下载文件,但是默认读取的 hostname 和 ssh 连接的 port 不对导致无法下载,这两个参数是否可以自己配置?
1 NessajCN 259 天前 我没用过 iterm2 shell integration 但我知道 ssh 的配置都在 ~/.ssh/config 里,并且 scp 都是直接读 ssh 的这些设置的 你可以试试改这个配置 |
2 383394544 259 天前 via iPhone scp 可以指定 |
3 skygod 259 天前 |
4 Aixtuz 259 天前 .zshenv 中 export iterm2_hostname=别名 与 ~/.ssh/config 中别名一致 是指的这个么? |