嗯?更新 OpenSSH 9.2 后 YubiKey 不需要输 PIN 直接摸就行了

scp 的内部实现换成 sftp 了,也就是说我可以继续使用 scp 不用换成 rsync 了吧(

@fulkrum@qoto.org @w27@orz.uno 說起來 rsync 可以由本地控制在兩個遠程系統間傳輸嗎?(

Follow

@hako @w27 当然可以:
$ ssh alice
$ rsync -aP bob:~/foo/bar .

@hako @w27 我搜了下,居然真的就是这样…… :ablobhologram: :ablobhologram:
$ ssh user@server1 "rsync /files user@server2:/directory"
serverfault.com/a/411558/

@fulkrum@qoto.org @w27@orz.uno 我指的是 scp alice:test bob: 這樣,可以不用讓遠程系統信任另一個遠程系統。

@hako @fulkrum scp 这个不需要中转直接两台机子互传的功能,我也没用过……就是因为没敢让两台远程系统互相信任(

@w27@orz.uno @fulkrum@qoto.org hmmmmmm
int throughlocal = 1;
看起來默認是
scp -3(本地中轉),不過感覺 rsync 不像是能簡單搞定這個的樣子

@hako @fulkrum 我……刚刚才知道 scp 自带本地中转……以前都是手动……

@niconiconi @fulkrum @hako !天哪我一直都傻傻地用 -L 手动跳板

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.