mount -t smbfs -o username=Administrator,password=Passwo开发者_如何学运维rd //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)
You can use ssh to run command on remote machine
ssh user@remote command
精彩评论