Remote mounting

青春壹個敷衍的年華 提交于 2019-12-13 07:11:12

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!