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

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

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 .

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.

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 ?

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

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... ?