login remote Linux by ssh key and copy file using sshfs

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

ssh-copy-id [email protected]

##### sshfs

mkdir ~/remote
sshfs [email protected]:/home/USER ~/remote
cp -p someFile ~/remote/put/it/some/where/oh/damn/you/here

你可能感兴趣的:(sshfs)