Yo. I have installed / enabled the Android Linux Terminal debian VM thing on a pixel 8 + graphene OS but I am having trouble connecting to it over ssh. I get a instant rejection as if it's not even listening. Are there any other layers of firewall or NAT that I need to take care of in GoS that would reject my connection?
I can ping the phone and even ssh to it via nix-on-droid but not via the this VM for whatever reason.
Steps I've taken so far:
Linux Terminal setup commands:
sudo apt update && sudo apt upgrade -y
sudo apt install -y openssh-server
sudo sed -i 's/#Port 22/Port 8022/' /etc/ssh/sshd_config
sudo systemctl restart ssh
sudo passwd droid
Linux terminal app config:
- Set 8022 to be forwarded to the debian VM in the settings menu in the Terminal emulator UI
No VPN's running
Connection string:
$ ssh -p 8022 droid@<Phone's LAN IP>
ssh: connect to host <Phone's LAN IP> port 8022: Connection refused
sudo ss -tulpen | grep ssh shows sshd listening for tcp on 0.0.0.0:8022 and [::]:8022
Not sure what I'm screwin' up but any ideas / tips would be appreciated.