我配置了~/.ssh/config
Host * ControlPersist yes ControlMaster auto ControlPath ~/.ssh/master-%r@%h:%p ServerAliveInterval 5 Host test HostName 1.1.1.1 User root Port 22 IdentityFile ~/.ssh/id_rsa
其他终端都可以 ssh test 登录,就是 Warp 还要单独需要输入密码
1
wxd21020 2022-12-29 10:02:01 +08:00
warp 怎么保存 session 信息
|
3
fanxasy 2022-12-29 12:01:44 +08:00
cd ~/.ssh
ssh-keygen ssh-copy-id -i [公钥文件] user@host ssh-add --apple-use-keychain [私钥文件] |