Questions tagged [ssh]

Secure Shell (SSH) is a network protocol for secure remote shell services and command execution.

Filter by
Sorted by
Tagged with
3 votes
1 answer
58 views

How can I enable swipe typing and autocorrect in Juice SSH?

The Juice SSH app disables swipe typing and autocorrect on the keyboard by default. How can I switch these features back on? The Juice SSH FAQ says to swipe right on the keyboard1: In normal JuiceSSH ...
Alexander Klauer's user avatar
0 votes
0 answers
107 views

Can't access my local host via Google Chrome on Android

I have mini PC which serves as a small home server for various needs. Running Ubuntu 20.04. When I replaced my old router with new one I'm having minor issues with connection: when trying to connect ...
user avatar
2 votes
1 answer
1k views

Connect ADB through SSH

How can I connect ADB on remote server through SSH to a local, non-rooted Android devices without installing anything on the middleman with root? This is what I want to achieve: ┌─────────┐ ...
ecokjeonb's user avatar
0 votes
1 answer
467 views

SSH to localhost on android

I am trying to get ssh working on my android phone. I am currently able to ssh out, from my phone to another device. But I am struggling to be able to ssh in. To test things, I am just working on my ...
IsAdisplayName's user avatar
2 votes
0 answers
843 views

Stream video on VLC Player Android over SFTP with SSH key authorization

I would like to connect via SFTP with public/private key encryption with VLC on Android (both on my Chromecast TV and Android phone). I have installed Termux, configured my keys, and can access the ...
user avatar
3 votes
0 answers
183 views

How find large files with QDirStat on Android 11 with root?

I want to list all files in my phones /data volume using QDirStat, or something simular. On my phone, I've used DiskUsage (com.google.android.diskusage) before, but I find the visualization lacking. I ...
Tanja's user avatar
  • 31
0 votes
1 answer
477 views

SimpleSSHD Missing SCP?

I successfully got SimpleSSHD running on my OnePlus 7T and I can SSH into the phone fine and I can also connect using WinSCP. However, whenever I try to transfer a file, I get an error 127, which ...
hypercoyote's user avatar
2 votes
1 answer
829 views

JuiceSSH on Android not accepting IPv6 address

Using a current version of JuiceSSH on Android, I'm trying to set up a New Connection to my system at fe80::f9cd::4687::90cd::5da2. I've confirmed that I can ssh to that address from a Windows machine....
keshlam's user avatar
  • 121
1 vote
0 answers
554 views

Remote connect adb to android device

How can I use adb shell for an android device wireless and remotely? With ssh, wifi, or bluetooth. For example can I connect to my mobile from laptop with bluetooth and use adb shell in laptop for my ...
Reza Hosseinzadeh's user avatar
0 votes
1 answer
769 views

Connecting ACODE to Termux

Hi guys I have successfully connected ACODE to termux using sftp from ACODE to termux SSH using openssh sshd and dropbear dropbear via generated password passwd and username whoami and it works. I've ...
Cybergenii's user avatar
0 votes
0 answers
174 views

Convert PuTTY key to OpenSSL key?

The title says almost everything. I need to connect to SSH, but on Android I can not find any software which is able to connect with PuTTYs key format. To convert it to OpenSSH key, every single site ...
Daniel's user avatar
  • 281
0 votes
1 answer
700 views

SSH server on Shield w/Android 11

I recently purchased a Shield running Android 11. I want to enable an SSH server on this box. I tried an SSHd app from the play store but it didn't seem to work. Looking at the websites for a couple ...
TSG's user avatar
  • 208
1 vote
2 answers
507 views

Unable to use SSH server over VPN on Android 11

I had an old mobile phone with Android 8.x Oreo. In it, I was using "SSH/SFTP Server - Terminal" app to access my files on the phone through "WinSCP" in "Windows 10". I ...
user avatar
2 votes
1 answer
73 views

Endless updates on every boot

I have a treadmill (manufacturer gone out of business so no support there) that runs on Ubuntu 14 (2016) Android version 4.4.4. Every time I power on it goes through the "Android is updating"...
Miles's user avatar
  • 21
0 votes
0 answers
2k views

How can I direct all network traffic on my devices to 127.0.0.1 with a specified local port on an ssh that I setup on a separate android using termux?

So far, I have only been able to do the following steps: Install openssh on termux. pkg install openssh Then I turned on hotspot on my phone. Then I found the phone's IP address using ifconfig which ...
nah1's user avatar
  • 1
0 votes
1 answer
4k views

How can I turn off an Android phone in the same Ethernet remotely using a Windows computer? [duplicate]

As in title: How can I turn off an Android phone in the same Ethernet remotely using a Windows computer? They are in the same Local Area Network and connected to the same router, the Android phone is ...
user avatar
0 votes
1 answer
557 views

How do I run the latest version of rsync as root with SimpleSSHD?

SimpleSSHD is a free (open source, no ads) SSH server based on dropbear that supports scp, sftp, and rsync. How do I run the latest version of rsync as root when accessing my phone from a remote host?
Tom Hale's user avatar
  • 437
1 vote
0 answers
281 views

Open port to all interfaces

I have an old machine with no built-in wifi adapter. I'm using a spare android device to connect this machine to my wifi home network via usb tethering. I'd like to ssh into this machine. The machine'...
user84207's user avatar
  • 111
1 vote
0 answers
345 views

Port to port routing in rooted android device locally

I want to route the incoming TCP packets of one specific IP. Packet can arrive on any port on android. Packet needs to be forwarded to one specific port on the same device, Without using middleware ...
Czar's user avatar
  • 11
1 vote
1 answer
2k views

Installing rsync on Android to transfer files from Android to OSX

I am trying to use rsync to transfer some files from my Android phone (Samsung Galaxy S10+ / Android V10) to my local machine (OSX / Mojave). I did the following: Installed SSH/SFTP server on my ...
user2490003's user avatar
0 votes
0 answers
41 views

ssh into android over usb: macOS [duplicate]

I have a Meizu M8 phone running android with Termux. I had set up ssh access to Termux over WiFi, but I want to be able to do that over USB because of possibly lower latency and higher speed. If I ...
Joy Jin's user avatar
  • 117
3 votes
2 answers
2k views

How to access files transferred to device using SimpleSSHD?

I am using SimpleSSHD and doing scp to transfer files from my computer to my Redmi phone. My question is that after I have copied files to data/user/0/org.galexander.sshd/files, how do I access them, ...
ccvhd's user avatar
  • 133
0 votes
0 answers
415 views

Android boot.img installing BusyBox with Dropbear

I have installed TWRP on my device, extracted boot.img. Initially I just wanted to build Dropbear for Android and make it run from boot.img. I don't need any app to have root access. What I would ...
user1325696's user avatar
0 votes
0 answers
323 views

SSH authentication failure from 4g network

I use JuiceSSH to connect to my server via my Android device. If the device is connected via Wi-Fi, all goes smoothly. But if I connect via 4g network, then I get Authentication failure error. Why? I ...
alec_djinn's user avatar
2 votes
1 answer
656 views

Android stops/pauses execution of my background script?

Short version: Why is my bash script (running in the background, started via SSHD) not running every ~30 seconds when it should? (NOTE: SSHD and the script are running as root!) I have a script that ...
confetti's user avatar
  • 602
9 votes
2 answers
13k views

Send a notification (or just vibrate) to phone via ADB/shell

I would like to be able to send some kind of notification to my android using a remote shell script (SimpleSSHD running as root, so basically the same as an adb shell). On an iOS device I can use the ...
confetti's user avatar
  • 602
0 votes
0 answers
35 views

How to SSH into my Android Phone's command prompt [duplicate]

I have a non-rooted Android phone with the Termux app installed. I can run ifconfig on the phone's terminal and see the IP address of wlan0, and I can ping the phone's IP from the terminal on my ...
Noah Broyles's user avatar
1 vote
0 answers
3k views

How can I know the hostname of an Android phone for use in SSH connection?

When setting up public key authentication on SimpleSSHD server on my Android phone, by http://www.galexander.org/software/simplesshd/ Quick start Install SimpleSSHD. On any computer which ...
Tim's user avatar
  • 485
2 votes
1 answer
1k views

How to stream an encrypted backup of the entire device to remote host?

I have an Android device that has no free space and no SD-card that I can replace (thanks to OnePlus policy). I also have no free space on PC to accommodate the backup so I wanted to upload it to the ...
beppe9000's user avatar
  • 155
2 votes
1 answer
3k views

Read GPS location from command line via SSH

I am wondering if there's a way to read the current GPS coordinates via SSH using SSHelper as SSH server. I came accross some similar threads: How to detect GPS status through adb shell? A way to ...
soelderer's user avatar
1 vote
1 answer
656 views

Android SSH with AWS and JuiceSSH

I am trying to use JuiceSSH to connect to my Amazon instance with Ubuntu and I am unable to skip the request for password, documentation says I should be using -i in the ssh command but I don't see ...
skv's user avatar
  • 153
0 votes
0 answers
3k views

rooted device: how to run SSH server persistent even on reboot

I (linux user but not an expert) just moved from iOS to android, my device is rooted (Samsung s9) and I want a ssh server running all the time on my android device (I prefer openssh over dropbear) ...
kuruvi's user avatar
  • 101
1 vote
1 answer
1k views

How to make Termius look for hostnames on the local network first?

I have four devices: Windows 10 PC Android Phone (v6.0.1) Internet Router "servername" (Raspberry Pi 4) All are connected locally using Wifi (not that it should matter) using the simplest possible ...
Wossname's user avatar
  • 135
2 votes
1 answer
2k views

How to connect two phones via SSH with a central SSH server?

I have two phones A and B which use Mobile Data. I would like to connect from phone A to phone B, the latter has an SSH server running on port 8022. The central SSH server is running on AWS and has an ...
Ehtizad Zashkiyor's user avatar
7 votes
1 answer
5k views

How to SSH into Android which is a hotspot?

I am using Wi-Fi hotspot on Android. Can I SSH into it from my laptop which is connected to hotspot? How would I do this?
Kevin's user avatar
  • 173
2 votes
0 answers
246 views

Can I install GNU/Linux in text mode on android?

I want to use my old smartphone (Moto 3G) like Rassbery Pi to make some low level things with just terminal. I want to install GNU/Linux in text mode, get access to it with SSH, get connection to ...
Dolidod Teethtard's user avatar
1 vote
1 answer
1k views

How to connect to a SSH server from Android client?

I can install and run an SSH server on my Android 6.0 phone (Banana SSH server), and I can run an SSH client on it (Termius), so how do I invoke the client from on the command line that the server ...
Steve Newcomb's user avatar
3 votes
1 answer
9k views

How to SCP files from a PC to storage in Termux

I can scp files from my Linux server to Termux directory on my Android smartphone but Termux directory is not accessible through file explorer. What exactly should be the destination path for scp so ...
Just Khaithang's user avatar
6 votes
1 answer
5k views

How to run SSH/SFTP server for multiple user logins with password authentication on Android?

I want to run an SSH server on my Android phone so that my clients (varying between 10 to 20) can easily and securely share data with me when I'm on the go, without using any third-party hosting ...
Irfan Latif's user avatar
  • 20.4k
6 votes
1 answer
21k views

SSH client for Android with scp and sftp features [closed]

I have tried SSHjuice and Termius and neither of these have the scp features ( I couldn't find it in the free/trial version ). So can anybody tell me is there any SSH client (free version) for Android ...
Just Khaithang's user avatar
1 vote
2 answers
3k views

Can any computer connect to a SSH server running on an android phone connected to a wireless mobile network? [duplicate]

I run a ssh server on an Android phone using SimpleSSHD. When the phone is connected to a wifi network, I can connect to the SSH server from a computer in the same wifi network. When the phone is ...
Tim's user avatar
  • 485
7 votes
1 answer
6k views

SimpleSSHD - create reusable user/password?

I have downloaded SimpleSSHD (aka Dropbear) to access my Android via SSH. I am able to do so with the one-time password, but I'm trying to write a Python script that can access the phone. Is there a ...
BruceWayne's user avatar
4 votes
1 answer
4k views

How to find UID of an app installed on Android and use it as a shell user?

I am trying to find a way to determine the user name of the current shell user from within a shell / terminal on an Android device. The Android environment that I have in /system/bin and /system/xbin ...
highsciguy's user avatar
0 votes
0 answers
121 views

What's a good place for public SSH keys on my filesystem?

I'm using an SFTP server app on my Android phone (RedMi 3S); it's a typical Android app, not something requiring root or run as an ARM binary from the command-line). This server app lets me define ...
einpoklum's user avatar
  • 533
12 votes
1 answer
28k views

How to connect to Android through SSH over 3G/4G public IP?

I am having an Android device and I want to connect in via 3G/4G and I am getting connection refused. Any ideas how to do that?
Garrie's user avatar
  • 121
1 vote
0 answers
217 views

Android JuiceSSH endless prompt to enter Interactive Aunthentication password

I am new to network stuff. Normally I connect to the internet provided by the student dormitory using the login client that they provide. But it is inconvenient as I always have to switch on my ...
user avatar
0 votes
1 answer
239 views

IP Address changes when using SSHDroid

I want to transfer files wirelessly between my android phone and Linux computer (XUbuntu 18.04). It works when I use SSHDroid as an SSH server on my phone and connect to it with sshfs to mount the ...
user2596667's user avatar
0 votes
1 answer
1k views

Controlling phone and making calls remotely

I'm wondering if there's a way to connect to my phone via, say, ssh and be able to make calls and send texts remotely. Use case would be for when I'm abroad but have internet, I'd be able to contact ...
user275286's user avatar
1 vote
0 answers
486 views

How can I list the contents of my sd card over ssh

I try to list the contents of my sdcard using kdeconnect. As I understand it, this is done using an ssh connection (sshfs). When I try to list the contents of the sd card on my computer, e.g. ls /run/...
lineinthesand's user avatar
2 votes
0 answers
1k views

SSHDroid cannot write sd card

The title says it all. Running android 7.1 not rooted device, I am running sshDroid on android device, ssh into it from my laptop. When I ssh into the device and check the permissions for the SD ...
user1610950's user avatar