Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How to install tools and updates remotely on Nethunter using a Secure shell

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member
    Join Date
    Mar 2014
    Posts
    158

    How to install tools and updates remotely on Nethunter using a Secure shell

    I created this thread because people like me may get bored when it needs to install tools that are not available on kali from github , and using the tablet keyboard could be anoying to do that if you have to input a lot of commands to install scripts or tools .
    This manual will show you how to start a secure shell on nethunter , and will show you also how to connect to nethunter remotely from any linux distribution in a computer on your network .

    1st step : Connect to your wireless network and open nethunter in your tablet and you will see this menu popup .



    Take a note of what is your IP address given by your wireless router (my case is 1.1.2.108)


    2nd step : on kali menu go to the left up corner and open Kali Service control


    Start the SSH (Secure shell) service on Nethunter


    Step 3 : Your secure shell just started , now go to your other linux desktop computer connected on the same network and open a terminal .




    You just need to write in your terminal that is opened in your linux desktop " ssh ip" (my case ssh 1.1.2.108)
    The SSH session will ask you for a password , unless you change it , the default password in nethunter is "toor" .

    from that remote terminal you can install whatever you want in nethunter by using your desktop keyboard , like the example i used to get a toll from github in next picture .
    Last edited by pedropt; 2015-05-07 at 07:36 PM.

  2. #2
    Junior Member
    Join Date
    Apr 2015
    Posts
    2
    Im having a small problem with this, after i enter my devices ip i get a request its looking for a password to "root@123.456.7.8's password". then after a few attempts this comes up "Permission denied (publickey,password)."
    i went looking on other forums for an answer but they are all servers and such and there fix's didnt work for me.
    Im sorry to say i havent a clue whats its looking for can you help me out?
    Also in the current interfaces area i have no text at all i had to go manauly find the ip.

  3. #3
    Senior Member
    Join Date
    Mar 2014
    Posts
    158
    the default password for ssh in nethunter is "toor" .
    Before starting nethunter you have to enable your wifi on your tablet .
    After the wifi network on the tablet is established with your router then you start nethunter and then start ssh service .
    Did you enter any password when ssh service asked you ?

  4. #4
    Junior Member
    Join Date
    Apr 2015
    Posts
    2
    It worked thanks for the help the password was "toor" Thanks

  5. #5
    Junior Member
    Join Date
    May 2015
    Posts
    4
    Great info! Cheers. don't suppose you could tell me how to change the SSH password?

  6. #6
    Junior Member
    Join Date
    Dec 2016
    Posts
    16
    Quote Originally Posted by DaBstard View Post
    Great info! Cheers. don't suppose you could tell me how to change the SSH password?
    In nethunter terminal type passwd.

  7. #7
    Senior Member
    Join Date
    Mar 2014
    Posts
    158
    since i use my nethunter ssh only in my internal network , i never gave myself the time to change mine .
    but i believe that it works the same way as it is in any linux distribution .
    read this topic :
    http://superuser.com/questions/57127...assword-in-ssh


    if you get some difficulties doing it then let me know and i will try here over the weekend .

  8. #8
    Thank you for the tutorial, now my question is, how can I use my android app with Kali Linux remote SSH and how to set ssh to not keep the logs?

  9. #9
    Senior Member
    Join Date
    Mar 2014
    Posts
    158
    how can I use my android app with Kali Linux remote SSH
    Depends on the perspective , the way this tutorial is explained you can use your linux tools in nethunter remotely .
    witch means that if you want to do a nmap scanning from your nethunter remotely then you just need to write the command and nethunter will do it for you . however you can also do it from your linux station .
    I write this tutorial for people install their tools from github using a remote shell in their network , this way it will be more simple to solve possible problems in the compilation of some utilities .

    how to set ssh to not keep the logs?
    good question .
    I think that logs are stored in /var/log/ directory , but ssh logs are not stored independently from system logs , usually the system logs or authentication logs are stored in auth.log file in that directory .
    while system is running the file is blocked for delete (i dont know if that file is delete then you may encounter issues ) .
    look up the net .
    look here : http://askubuntu.com/questions/57611...tivity-history

  10. #10
    Junior Member
    Join Date
    Mar 2013
    Posts
    7
    Hello,

    I installed Nethunter yesterday on my nexus 6 and it went perfectly well.
    Trying to open an SSH session on my device, I start the ssh service and issue the usual command.
    My problem is that the password 'toor' doesn't work. Did they change it for nethunter 2.0?
    If I enter 'su' in a terminal session on the nexus, it doesn't ask for a password and after some research, I couldn't find any way to change or set a root password on the Nexus.
    Does anyone know if there is a ssh-config file somewhere, I didn't find any. I could store my public key and forget this password thing... ?

    Any help would be greatly appreciated.

    Thanks all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •