Questions tagged [ssh]
Secure Shell (SSH) is a network protocol for secure remote shell services and command execution.
176
questions
0
votes
0
answers
19
views
SSH into Android phone using Dropbear
I am using dropbear to run a SSH server on my phone. However, I am not sure what user/pass I am supposed to use?
Right now I am on Android Studio and connected to the terminal with ADB. I am normally ...
1
vote
0
answers
48
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
54
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
24
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
83
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 ...
0
votes
0
answers
38
views
Adding a SSH key to a user without ssh-copy-id
I'm trying to connect ssh without password, by certificate, in shell work well but when I use android app [File Manager] have an error message, I don't know what is wrong, I copy the .ssh/id_rsa from ...
0
votes
0
answers
51
views
SSH can't login as normal user
So I managed to get SSH working properly, starting it with root so I can use the default SSH port 22. Only problem is that it doesn't allow me to login as anyone other than root. Trying to log in as ...
1
vote
1
answer
158
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 ...
1
vote
1
answer
46
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
523
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
665
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
247
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
136
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
56
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
1k
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
39
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 ...
2
votes
2
answers
696
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
276
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
173
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
248
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 ...
4
votes
2
answers
5k
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
30
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 ...
0
votes
0
answers
622
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
829
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
2k
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
292
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
1k
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
614
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 later has an SSH server running on port 8022. The central SSH server is running on AWS and has an ...
4
votes
1
answer
3k
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?
3
votes
0
answers
141
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
895
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
6k
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
3k
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 ...
4
votes
1
answer
13k
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 ...
5
votes
1
answer
5k
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
2k
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
91
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 ...
10
votes
1
answer
20k
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?
0
votes
0
answers
168
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
209
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
854
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
307
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 ...
4
votes
2
answers
6k
views
What's the best way to turn an Android device into Linux server?
I have an Android device with a broken screen and I'd like to turn it into a dedicated Linux server.
Now I'm reading articles found by googling but I'm still not sure what is the best way to do this. ...
0
votes
1
answer
197
views
zsh scp completion of remote files doesn't work when running SSHHelper
Running SSHelper is a great way to access files on your phone. But completion of remote files (scp and rsync) using zsh doesn't work though. While using sshfs is a workaround but sometimes you just ...
1
vote
2
answers
3k
views
How can I directly edit text files over SSH or FTP?
Sometimes I want to edit text files on a remote computer (such as linux scripts, websites, etc.) but I only have an Android device at hands (let's say I'm sitting in a train and have nothing better to ...
1
vote
1
answer
1k
views
Having trouble setting up Android SSH tunnel with port forwarding (x-post /r/ssh)
I'm trying to log into an SSH server in such a way that I can securely visit websites on my Android phone. I have done the following:
Set up port forwarding for SSH server xyz.org, port 8080 on VX ...
3
votes
2
answers
4k
views
Port forwarding to USB Tether
I have RaspberryPi which connected to Android Phone via USB and USB Tethering is up. Android Phone is connected to Home Router (Wi-Fi). With this setup, my Raspberry Pi can reach the internet with USB-...