Questions tagged [ssh]
Secure Shell (SSH) is a network protocol for secure remote shell services and command execution.
180
questions
0
votes
0
answers
24
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 ...
2
votes
1
answer
233
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:
┌─────────┐ ...
0
votes
0
answers
183
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 ...
1
vote
0
answers
618
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 ...
0
votes
0
answers
309
views
How do I host an ssh server on a rooted Android device?
I am looking for a way to host an ssh server from the Android shell. I would prefer to use the shell and run it natively over using an app, but if anyone knows any good apps that don't use a lot of ...
3
votes
0
answers
148
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 ...
0
votes
1
answer
378
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 ...
2
votes
1
answer
627
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....
1
vote
0
answers
454
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 ...
0
votes
1
answer
657
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 ...
0
votes
0
answers
126
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 ...
0
votes
1
answer
570
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 ...
1
vote
2
answers
464
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 ...
2
votes
1
answer
61
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"...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
507
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?
1
vote
0
answers
256
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'...
1
vote
0
answers
262
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 ...
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 ...
0
votes
0
answers
40
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 ...
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, ...
0
votes
0
answers
389
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 ...
0
votes
0
answers
295
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 ...
2
votes
1
answer
553
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 ...
8
votes
2
answers
11k
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 ...
0
votes
0
answers
34
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 ...
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 ...
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 ...
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 ...
1
vote
1
answer
610
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 ...
0
votes
0
answers
2k
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) ...
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 ...
2
votes
1
answer
1k
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 ...
6
votes
1
answer
4k
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?
2
votes
0
answers
218
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 ...
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 ...
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 ...
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 ...
6
votes
1
answer
19k
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 ...
1
vote
2
answers
2k
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 ...
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 ...
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 ...
0
votes
0
answers
113
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 ...
12
votes
1
answer
26k
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?
1
vote
0
answers
205
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 ...
0
votes
1
answer
237
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 ...
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 ...
1
vote
0
answers
447
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/...
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 ...