Last active
October 27, 2024 02:17
-
-
Save kleo/ccaf34f4515670d84b37719c067300c7 to your computer and use it in GitHub Desktop.
GNURoot Debian Jessie Android SSH Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GNURoot Debian Jessie Android SSH Server | |
# Google Play Store: https://play.google.com/store/apps/details?id=com.gnuroot.debian | |
# Github: https://github.com/corbinlc/GNURootDebian | |
# change root password | |
passwd | |
apt update | |
apt install -y nano | |
# openssh-server | |
apt install -y openssh-server | |
nano /etc/ssh/sshd_config | |
Port 22 to 2222 | |
UsePrivilegeSeperation no | |
PermitRootLogin yes | |
service ssh restart | |
# dropbear | |
apt install -y dropbear | |
nano /etc/default/dropbear DROPBEAR_PORT=22 to 2222 | |
service dropbear restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gabrielrivas is right, atleast for me too!
If like me you are trying to connect from chrome shell and started both
ssh
&dropbear
and you get the below annoying error after correcting the mistake...Then try the below in the ssh chrome-tab(Ctrl+Shift+J):
Note down the index at the end of
/.ssh/known_hosts:<INDEX>
and doterm_.command.removeKnownHostByIndex(<INDEX>);
As per the above I had to run
term_.command.removeKnownHostByIndex(1);
To forget all hosts try
term_.command.removeAllKnownHosts();
Cheers!
-bulbuntu