SSH 进行远程连接

install the openssl

1
yay -S openssl

see the ip

In the mac we can check the ip
then connect the pc

1
ssh hostname@ip

transparent the file

1
scp [username]@ip:/path/filename /...

目标和出发点可以互换