login remote Linux by ssh key and copy file using sshfs

##### login by ssh key, no need to type passwd

ssh-copy-id user@123.45.56.78

##### sshfs

mkdir ~/remote
sshfs USER@192.168.178.32:/home/USER ~/remote
cp -p someFile ~/remote/put/it/some/where/oh/damn/you/here

评论

暂无评论