zoukankan      html  css  js  c++  java
  • Using sshfs to mount remote directory

    Using sshfs to mount remote directory

    Using sshfs to mount remote directory

    I am working on different locations, but I do not want to copy all the files from one computer to another, the simplest way to avoid the trouble of duplicating files are using sshfs.

    In order to make sshfs connection easy, it is highly recommended that the ssh connection between two machines are passwordless. See the previous post on how to do this.

    Here are the essential steps for using sshfs: Install:

    sudo apt-get install sshfs

    Mount:

    sshfs wujing@172.31.8.22:/media/wujing/Personal /run/shm/wj

    Note: there is no need to use root or sudo to mount the filesystem.

    Unmount:

    sudo umount /run/shm/wj

    Note:sudo or root privilege is required to unmoount the filesystem.

    Author: wujing

    Created: 2015-03-13 五 11:10

    Emacs 24.3.1 (Org mode 8.2.10)

  • 相关阅读:
    iptables之NAT端口转发设置
    Windows server 2008 R2远程桌面3389端口号修改
    Nginx启动错误:error while loading shared libraries: libpcre.so.1
    sp_change_users_login 'Update_One', '用户名', '登录名';
    Sqlserver 数据库定时自动备份
    ES DSL 基础查询语法学习笔记
    kafka命令使用
    kafka集群中常见错误的解决方法:kafka.common.KafkaException: Should not set log end offset on partition
    快速排序法(双冒泡排序法)
    运算符
  • 原文地址:https://www.cnblogs.com/wujingcqu/p/4334583.html
Copyright © 2011-2022 走看看