linuxdeploy
linuxdeploy copied to clipboard
correct password can't connect to ssh
the container is mounted successfully, but I can't connect to ssh, I tried kali,arch,debian,centos all these distros start ssh fail, only ubuntu precise version could start ssh successfully but other version also start fail.
start ubuntu precise version ssh successfully but I can't connect to it with configured user and password, and the terminal
in upper right corner menu doesn't open terminal but led me to http://127.0.0.1:5080, why???, I also can't find any installed file in my storage such as I search 'ssh' keyword returning no result, now I don't have any idea how to fix it, spent whole day to find the solution but not found, my device already root, anyone any suggestion?
so my questions are:
1. how to fix ssh can't connect?
2. how to open terminal to use my installed ubuntu?
my steps is:
- install busybox
- install linux deploy
- setting and configuration
- install ubuntu
- click configure in menu
- start container
linux deploy version 2.3.1-247
busybox version 1.28.3-36
linux deploy setting
linux deploy configuration
linux deploy status
linux start debug log
tried busybox install directory
- /system/xbin
- /system/bin
tried busybox version
- latest in google play
- 1.28.3-36
tried user/password
- root/12345678
- root/changeme
- android/changeme
- hj/12345678
- hj/changeme
I had a problem where ssh would only work on specific distros. I can't tell if it's the same you are experiencing. I can't give you a fix but I can give you a workaround:
Don't use Linux Deploy's ssh. Install Termux and run the ssh server from there. To connect directly to your distro, use the command below.
ssh YOUR_PHONE_IP -p8022 -t "su -c linuxdeploy shell -u USERNAME"
I had a problem where ssh would only work on specific distros. I can't tell if it's the same you are experiencing. I can't give you a fix but I can give you a workaround:
Don't use Linux Deploy's ssh. Install Termux and run the ssh server from there. To connect directly to your distro, use the command below.
ssh YOUR_PHONE_IP -p8022 -t "su -c linuxdeploy shell -u USERNAME"
Is there some ways lead me to connect my andriod phone from my computer? I want to use it on my computer
Yes, you can just run the command on my last reply on your computer. Change your phone IP and the username you chose for your installation, "hj" as I see on your screen shots.
Just one thing: I see that you're using cellular network. I don't know how that would work out. You should connect your phone and computer on the same network and use a local IP.
Hey @ptrkc, did you ever find out what was wrong with your Linux deploy setup? Having the same problem, but thank you very much for the workaround!
Same problem