Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ SSH Filesystem use a secure connection for network file system     - MySQL5.7 implement virtual column expression index (Database)

- Hutchison DG standby database CPU consumption reached bottleneck repair (Database)

- MySQL fuzzy query: LIKE and REGEXP pattern mode (Database)

- Use IP address spoofing Intrusion Prevention Firewall (Linux)

- Memcached and Redis (Linux)

- The security administrator network analysis tools SATAN Introduction under Linux (Linux)

- Linux, Google Test (GTest) test environment to build step (Linux)

- SQLite database commonly used sentences and visualization tools on MAC MeasSQLlite use (Database)

- 8 Docker knowledge you may not know (Server)

- Achieve single backup of MySQL by innobackupex (Database)

- Improve the Ubuntu SSH login authentication approach speed (Linux)

- Spring multi data source configuration (Programming)

- Vagrant failed to start, stuck in Waiting for VM to boot solution (Linux)

- Iptables small summary (Linux)

- Redhat 7 modify the default run level method --RHEL7 use systemd to create a symbolic link to the default runlevel (Linux)

- Oracle 11g manually create a database (Database)

- Compare Several MySQL environmental issues (Database)

- Bash How to read a file line by line (Programming)

- Experience CoreCLR stack unwinding characteristics of initial implementation on Linux / Mac (Linux)

- Scope of variables in C # (Programming)

  SSH Filesystem use a secure connection for network file system
  Add Date : 2018-11-21      
  Access remote file systems There are many different implementations, some common connections than other more useful under certain circumstances. "Network File System" on the part of such a class, the Network File System software provides a way to the file system on the remote computer as part of the local file system, but in terms of how seamlessly combined, it still exists many problems. After all, the practical effect is good or bad depends on the browser interface case file system, access time is affected by the impact of network bandwidth and latency, and other factors involved in the system.

For network file system software, the most famous example is Microsoft's Common Internet File System (CIFS), which can allow Microsoft Windows "Map Network Drive" and the use of the network resource manager "Browse." Another is the first computer system developed by the Sun Network File System (NFS), as the United States Telephone and Telegraph Company developed UNIX system configuration has 15 years of history. Although there are dozens of other options, but the two systems occupy the mainstream network file system.

Even in an unencrypted network, network file encryption system can also provide secure connections for remote file system access. Encryption networks, data transmission time encryption is also a good idea. For the installation of the Openssh system, in fact it contains almost all of the open source Unix-like operating system, sshfs-ssh file system - as verifiable convenient and secure network file system that is used to access data stored on remote computer perfect

Because it is based on ssh, so you need to install and use sshFS on the client computer, then you need to install Openssh. Almost all major Linux distributions and BSD Unix operating system, the default configurations are already installed Openssh, so you will not need to install it separately. In addition, the server - you want your computer to be able to access the system from a local client file system - you need to run Openssh server process.

ssh file system is based on FUSE, the so-called "user space file system." FUSE provides a Unix-like systems API, can be used to establish a high-level file system, and can achieve security management does not require root privileges connected. Fortunately, the major open source Unix-like operating system's software management system should provide you with automatic processing functions.

When using the source code for a software-based management system, you may need to make sure to install the operating system kernel to generate time, FUSE mounting operation is correct. In the FreeBSD Ports system, for example, you can specify that all systems should be at the head of the operating system installed during setup.

Once confirmed, the system has been installed FUSE and sshFS, install the remote file system is incredibly easy to do. In fact, as long as a mount command (used to mount a local file system) and ssh command (command for opening the interface on a remote computer) to the most simple combination.

In addition to ease of use outside, sshFS also can choose a subfolder to install, and can decide to install the content. As long as you have a remote system to a given directory ssh connection, you can use secure, encrypted connection sshFS be installed locally.

According sshFS manual, use sshFS mounted remote file systems command is:

sshfs [user @] host: [dir] mountpoint [options]

Let's look at a simple example.

Allen called on a host of unruly FreeBSD server has a file containing Ogg Vorbis format music files, and he hopes to be able to directly access the folder from the Debian computer named insectmonger's own. Music file folder where the / usr / home / alan / vorbis. The folder location on the computer, he wants to be / home / alan / external. On both machines is the same as the user name, "alan". He uses the command should be:

sshfs unruly: / usr / home / alan / vorbis / home / alan / external

A simple command to complete uninstall, as specified sshfs manual page descriptions, Alan command can be used are:

fusermount -u mountpoint

Now, he can enter:

fusermount -u / home / alan / external

He could easily use the normal umount command to unmount the file system partition:

umount / home / alan / external

According syntax example manual [user @] section, [user @] is part of the sshfs command can be used to specify a user account on the remote computer, you need to "have a separate user account name" different from the remote file system access yes, you can use the user name of the local system to mount a file system.

Command syntax examples of [options] section includes more than 50 options sshfs described in the manual - far more than a single article can explain the range. One of the most common options are:

? Sshfs -h

This option provides a simple description of the syntax, if you need before using sshFS commands to quickly understand the available options then.

? Sshfs [user @] host: [dir] mountpoint -p 2002

This option may allow you to choose another port instead of the default port number 22 ssh, ssh in the server must be configured to access remote file systems are useful when using non-standard ports.

? Sshfs [user @] host: [dir] mountpoint -C

Use - C option, you can enable ssh's compression. Low bandwidth network like the Internet in high-traffic demand ,, sshfs mount by effectively reducing the time it can speed up remote file access speed.
- Java garbage collection (Programming)
- Linux Change ssh port and disable remote root login at (Linux)
- Depth study and understanding for individual users suicide DDoS attacks (Linux)
- Linux 6 use UDEV binding shared storage (Linux)
- Iptables in Ubuntu (Linux)
- The Concept and Semantics of Java Memory Model (Programming)
- dd command: do hard disk IO performance test (Linux)
- Compare Oracle MySQL (ICP) index condition pushdown is described (Database)
- shell script: MySQL monitoring service is normal (Database)
- crontab task scheduling Health Check (Linux)
- Linux system network security tools sudo Introduction (Linux)
- Fedora network set up simple (Linux)
- 10 useful Linux command Interview Questions and Answers (Linux)
- The Linux firewall is configured to use proxy (Linux)
- Difference Docker mirror and containers (Server)
- Nodejs nano library to handle couchdb: need a timeout (Database)
- Github inventory objects Algorithm (Linux)
- C # function (Programming)
- Several Methods of SSH Auto - login (Linux)
- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.