Skip to content

Hidden LeaseSet for SSH tunnel #2104

Closed Answered by spencermp
spencermp asked this question in Q&A
Discussion options

You must be logged in to vote

I've figured it out.
The one line I was missing

i2cp.leaseSetPrivKey = <some b64 string>

So the full config is now

# server config on host computer
[ssh-serv]
type = server
host = 127.0.0.1
port = 22
inbound.length = 1
outbound.length = 1
signaturetype = 11
i2cp.leaseSetType = 5
# decodes to "private key example"
i2cp.leaseSetPrivKey = cHJpdmF0ZSBrZXkgZXhhbXBsZQo=
keys = ssh-server.dat

# client config on guest computer
type = client
host = 127.0.0.1
port = 1337
inbound.length = 1
outbound.length = 1
i2cp.dontPublishLeaseSet = true
i2cp.leaseSetPrivKey = cHJpdmF0ZSBrZXkgZXhhbXBsZQo=
destination = <b33 address from server's i2pd web>
keys = ssh-client.dat

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mashdragon
Comment options

@anikey-from-i2p
Comment options

@mashdragon
Comment options

@anikey-from-i2p
Comment options

@mashdragon
Comment options

Answer selected by spencermp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants