Some checks failed
Update PKGBUILD version / update-pkgver (push) Has been cancelled
- Add MIT LICENSE - Rename Go module sshfs_connect -> sshfsc - Update README with Moonarch install instructions - Add Gitea workflow to auto-bump pkgver in moonarch-pkgbuilds
51 lines
918 B
Markdown
51 lines
918 B
Markdown
Quickly mount remote systems via SSHFS based on your ssh_config
|
|
|
|
Static mount dir is currently `~/Servers/<Host>`
|
|
|
|
# Install
|
|
|
|
## Arch Linux (Moonarch repo)
|
|
|
|
Available in the Moonarch package repository as `sshfsc-git`:
|
|
|
|
```
|
|
paru -S sshfsc-git
|
|
```
|
|
|
|
## From source
|
|
|
|
```
|
|
go build -o sshfsc
|
|
install -Dm755 sshfsc /usr/local/bin/sshfsc
|
|
```
|
|
|
|
# Dependencies
|
|
|
|
- [SSHFS](https://wiki.archlinux.org/title/SSHFS)
|
|
- [Go](https://wiki.archlinux.org/title/Go) (build-time)
|
|
|
|
# Usage
|
|
|
|
```
|
|
sshfsc <Host>
|
|
```
|
|
|
|
## Arguments
|
|
|
|
| Flag | Description |
|
|
| ------------- | ------------- |
|
|
| -e | open mountpoint in your editor |
|
|
|
|
Editor Sublime-Text (subl) is currently hardcoded. [See](https://gitea.moonarch.de/nevaforget/sshfs_connect/issues/1)
|
|
|
|
# Example ssh config
|
|
|
|
See https://wiki.archlinux.org/title/OpenSSH#Configuration
|
|
|
|
```
|
|
Host myserver
|
|
HostName 127.0.0.1
|
|
User sshusername
|
|
IdentityFile ~/.ssh/id_rsa
|
|
```
|