mirror of
				https://github.com/tiyn/wiki.git
				synced 2025-11-04 12:21:14 +01:00 
			
		
		
		
	ssh: added sshfs mounting
This commit is contained in:
		@@ -23,3 +23,13 @@ You can use the modified command below for ease of use:
 | 
				
			|||||||
```shell
 | 
					```shell
 | 
				
			||||||
cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys'
 | 
					cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys'
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Mount directory with sshfs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					To mount a directory (in this case called `directory`) from a remote server
 | 
				
			||||||
 | 
					(in this case called `server` also can be substituted by something like
 | 
				
			||||||
 | 
					`user@server-ip`) on a local mount (in this case `mountpoint`) run:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```shell
 | 
				
			||||||
 | 
					sshfs server:/directory mountpoint
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user