Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
cpholguera committed Jul 28, 2024
1 parent e6f4f50 commit bc8dd87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techniques/android/MASTG-TECH-0001.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ See the full instructions and considerations in the [Android Developers Document

### Connect to a Device via SSH

If you prefer, you can also enable SSH access. A convenient option is to use [Termux](0x08a-Testing-Tools.md#termux), which you can easily [configure to offer SSH access](https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server "Using the SSH server") (with password or public key authentication) and start it with the command `sshd` (starts by default on port 8022). In order to connect to the Termux via SSH you can simply run the command `ssh -p 8022 <ip_address>` (where `ip_address` is the actual remote device IP). This option has some additional benefits as it allows to access the file system via SFTP also on port 8022.
If you prefer, you can also enable SSH access. A convenient option is to use [Termux](/tools/android/MASTG-TOOL-0026.md), which you can easily [configure to offer SSH access](https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server "Using the SSH server") (with password or public key authentication) and start it with the command `sshd` (starts by default on port 8022). In order to connect to the Termux via SSH you can simply run the command `ssh -p 8022 <ip_address>` (where `ip_address` is the actual remote device IP). This option has some additional benefits as it allows to access the file system via SFTP also on port 8022.

## On-device Shell App

While usually using an on-device shell (terminal emulator) such as [Termux](0x08a-Testing-Tools.md#termux) might be very tedious compared to a remote shell, it can prove handy for debugging in case of, for example, network issues or to check some configuration.
While usually using an on-device shell (terminal emulator) such as [Termux](/tools/android/MASTG-TOOL-0026.md) might be very tedious compared to a remote shell, it can prove handy for debugging in case of, for example, network issues or to check some configuration.

0 comments on commit bc8dd87

Please sign in to comment.