Reputation: 1377
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)
Upvotes: 0
Views: 644
Reputation: 727
You can use ssh to run command on remote machine
ssh user@remote command
Upvotes: 1