问题
mount -t smbfs -o username=Administrator,password=Password //severIP/dev/hda1 /mnt/mountTemp
where
/dev/hda1 - filesystem in the remote machine
/mnt/mountTemp - mount pont in the local machine
This command mounts a remote filesystem in your local machine. But is there a possibility where you can mount the remote filesystem in the remote machine itself??(but the command has to be fired from your local machine)
回答1:
You can use ssh to run command on remote machine
ssh user@remote command
来源:https://stackoverflow.com/questions/7401102/remote-mounting