Ubuntu SSH Client Application | SSHFS map remote File system to local Disk

Source: Internet
Author: User
Tags chmod svn ssh
Application of Ubuntu SSH client

SSH refers to secure Shell, a secure transport protocol.


The Ubuntu client accesses the remote server via SSH, and the following steps are the client's configuration method:

1. sudo apt-get install SSH
2. Ssh-keygen
(Set defaults by Enter)
Generates ID_RSA and id_rsa.pub files by default, which are private and public keys, respectively.

Assuming the server IP is the 61.145.34.33,SSH service port number is 22, the server has a user as root;
The command to log on to the server with SSH is:
>ssh-l Root 61.145.34.33-p 22
> Enter the password for the root user

SSHFS map remote File system to local Disk

The Ubuntu client uses SSHFS to map the remote server's file system to a local disk, and the following steps are the client's configuration method:

1. sudo apt-get install SSHFS

2. SSHFS User name @ Remote server name: remote directory map to local directory

"Ubuntu will automatically display the mounted SSHFS file system disk on the desktop when you execute the command, and now you can manipulate the mapped disk as you would a local disk." "But I still can't use SVN in the mapping directory, and the error prompts are as follows:

At the moment my SVN can only operate on a normal local disk, not on the remote mapping disk. The reason may be: permission issues, security issues (firewall, antivirus) ...

Ls-ls


CD * *

chmod 777 *-R


chmod a+r File

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.