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