•  

Self-hosted cloud using SSHFS

0
0
03:36 PART 1 - SSHFS - Local Network
08:00 PART 2 - SSHFS - Clearnet
11:27 PART 3 - SSHFS - Tor Network
15:40 PART 4 - Simplify mounting SSHFS
18:43 PART 5 - Application data directories
27:37 PART 6 - Scripts


Links:

- Setting up a Server:
https://bitcointv.com/w/vNBotFQdHPmJjEA8PCiwgC?start=9m50s
https://bitcointv.com/w/rUELmYfAz9V7L7hZW9gq2b?start=3m3s
https://bitcointv.com/w/2BsRWV5tkMimGHHraqFbbP?start=1m49s
https://bitcointv.com/w/pnsi6kF9Kd9UnT9DWF7kW8?start=6m16s

- Dynamic DNS:
https://bitcointv.com/w/n3pVhyLjTDCaahY7U9Hk6w?start=21m51s

- DNS Hosting Service:
https://bitcointv.com/w/3mNk2hz5XbYDX3WHb9hixf?start=1m8s

- Yubikey series:
https://bitcointv.com/w/p/dhyWSopjPbkTqB5UanWL7G

- Tor hidden service:
https://bitcointv.com/w/sh8yMyAwixtC3ZxXaoWh33?start=3m54s

- Password manager PASS:
https://bitcointv.com/w/n3pVhyLjTDCaahY7U9Hk6w
https://bitcointv.com/w/2vVfD7cH6YzwCZ2Qodquzo

# PART 1
$ sshfs user@host:file_system mount_point -o IdentityFile=ssh_key

# PART 2
$ sudo nano /etc/ddclient.conf
---------------------------------------------------------
daemon=300
protocol=dyndns2
use=cmd, cmd='curl https://checkipv4.dedyn.io'
ssl=yes
server=update.dedyn.io
login=DOMAIN
password='AUTH'
DOMAIN
---------------------------------------------------------

# PART 3
$ sudo nano /etc/tor/torrc
---------------------------------------------------------
HiddenServiceDir /var/lib/tor/ssh
HiddenServicePort 22 127.0.0.1:22
---------------------------------------------------------
$ chmod 600 .ssh/config
$ torsocks ssh user@hidden_service_addr.onion
$ torsocks sshfs user@hidden_service_addr.onion:dir mount_point

# PART 4
$ sudo nano /etc/fstab
---------------------------------------------------------
USER@HOST:FILE_SYSTEM MOUNT_POINT fuse.sshfs rw,noauto,users,_netdev 0 0
---------------------------------------------------------
$ sudo mount -av

# PART 6
$ sudo nano .local/bin/ddir-lan.sh
---------------------------------------------------------
#!/bin/bash
sshfs cloud-lan:ddir/pass /home/npc/.password-store
sshfs cloud-lan:ddir/electrum /home/npc/.electrum
---------------------------------------------------------
$ chmod 600 ddir-lan.sh

# sudo nano ~/.profile
alias ddir-lan='. /home/npc/.local/bin/ddir-lan.sh'
$ export PATH=$PATH:$HOME:/.local/bin
No comments yet...
Log in to comment
0 0 0
2024-10-27

Dead Man's Switch with NTFY

LINUX TUTORING https://bitcointv.com/w/kUhTF4c7yJMNDiE4Q3AgqM 03:48 PART 1 - Installing NTFY + NGIN…
0 0 0
2024-02-08

Self-Hosted SimpleX Chat

00:55 PART 1 - Building SimpleX From Source 07:23 PART 2 - Configuring the SMP & XFTP Servers 16:07 …
0 0 0
2023-10-07

LINUX TUTORING

Don´t even know how or where to install Linux? That's OK. Absolute beginners welcome! Contact: 402P…
0 0 0
2023-09-14

Keet Peer as Data Relay

02:13 PART 1 - Preparing The Raspberry Pi 09:38 PART 2 - Install Keet 16:32 PART 3 - Remote Access …
0 0 0
2023-08-12

SOCKS5 Proxies

12:08 PART 1 - VPS SETUP 13:50 PART 2 - INSTALL DANTE 18:41 PART 3 - CLIENT AUTHENTICATION 21:12 PAR…
0 0 0
2023-07-28

Tor Snowflake Proxy

1:24 PART 1 - Server Setup 3:42 PART 2 - Snowflake Proxy Snowflake https://snowflake.torproject.org…

402 Payment Required

Security. Privacy. Digital self-sovereignty. Bitcoin. Don't trust. Verify. A786 CA10 5A72 50D7 96BF…

Log in to Follow

More episodes from 402 Payment Required

Top Podcasts Top rated Podcasts