31 lines
572 B
Markdown
31 lines
572 B
Markdown
Quickly mount remote systems via SSHFS based on your ssh_config
|
|
|
|
Static mount dir is currently `~/Servers/<Host>`
|
|
|
|
# Dependencies
|
|
|
|
- [SSHFS](https://wiki.archlinux.org/title/SSHFS)
|
|
- [Go](https://wiki.archlinux.org/title/Go)
|
|
|
|
# Usage
|
|
|
|
```
|
|
sshfs_connect <Host>
|
|
```
|
|
|
|
## Arguments
|
|
|
|
| Flag | Description |
|
|
| ------------- | ------------- |
|
|
| -e | open mountpoint in your editor |
|
|
|
|
# Example ssh config
|
|
|
|
See https://wiki.archlinux.org/title/OpenSSH#Configuration
|
|
|
|
```
|
|
Host myserver
|
|
HostName 127.0.0.1
|
|
User sshusername
|
|
IdentityFile ~/.ssh/id_rsa
|
|
``` |