I'm trying to set up consistent remote access to a linux machine via ssh over zrok:
Run on remote: zrok share private --backend-mode tcpTunnel 127.0.0.1:22
Run on local zrok access private xxxxx
Run on local in another terminal: ssh -p 9191 uname@127.0.0.1
This works great and I can happily use ssh.
However, when I run the share command in my startup script like this:
nohup zrok share private --backend-mode tcpTunnel 127.0.0.1:22 &
or
screen
zrok share private --backend-mode tcpTunnel 127.0.0.1:22
I get a
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 9191
error when trying to ssh in.
This error also appears in the local zrok window:
│[ 5.113] ERROR zrok/endpoints/tcpTunnel.(*Frontend).accept: error │
│dialing 'mubutnn93yev': unable to dial service 'mubutnn93yev': dial failed: │
│service 2U0JVJKVbl8R5uZXxgxaGC has no terminators │
Why is this, and is there a smarter way to start the zrok share programmatically that anyone uses already?
Cheers,
T