•  

YUBIKEY - 6 SSH over Tor with Client Authorization in Tails

0
0
##### 1 PRIVATE-PUBLIC KEYS - openssl, basez

# Generate x25519 key
$ openssl genpkey -algorithm x25519 -out /tmp/ssh.prv.pem

# Format keys into base32
$ cat /tmp/ssh.prv.pem | grep -v " PRIVATE KEY" | base64pem -d | tail --bytes=32 | base32 | sed 's/=//g' > /home/amnesia/Desktop/ssh.prv.key
$ openssl pkey -in /tmp/ssh.prv.pem -pubout | grep -v " PUBLIC KEY" | base64pem -d | tail --bytes=32 | base32 | sed 's/=//g' > /home/amnesia/Desktop/ssh.pub.key

##### 2 SERVER

# Create Authorized client file at var/lib/tor/ssh/authorized_clients/ssh.auth
descriptor:x25519:

# Reload tor
$ systemctl reload tor

##### 3 CLIENT - tor

# Specify path to client authentication credentials in /etc/tor/torrc
ClientOnionAuthDir /var/lib/tor/onion_auth

# Create file for the onion service at /var/lib/tor/onion_auth/ssh.auth_private
:descriptor:x25519:

# Restart tor
$ systemctl restart tor

-----
BTC donation address - bc1qny4am3clu0gcsq3hvja4vcdhwd529hgmnlavfh
No comments yet...
Log in to comment
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…
0 0 0
2023-07-22

Shadowsocks

01:45 PART 1 - Server Setup 03:37 PART 2 - Cliet Setup 04:50 PART 3 - Firefox & Tor Browser 09:30 PA…

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