开发者

Remote mounting

开发者 https://www.devze.com 2023-04-05 00:58 出处:网络
mount -t smbfs -o username=Administrator,password=Passwo开发者_如何学运维rd //severIP/dev/hda1 /mnt/mountTemp
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
0

精彩评论

暂无评论...
验证码 换一张
取 消