Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

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

0
votes
1answer
61 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 ...
1
vote
1answer
32 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 ...
0
votes
1answer
130 views

SSH client for Android with scp and sftp features

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
2answers
68 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 ...
0
votes
0answers
64 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 ...
2
votes
1answer
115 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
0answers
52 views

Remote Connection to Phone's File System

I have been researching how it is possible to gain access to a phone's file system using something like the phone number, IMEI number or other identification number in a similar way that I can SSH or ...
0
votes
0answers
24 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 ...
0
votes
0answers
20 views

Connect to a phone with ssh connect [duplicate]

I learned that android is a variant of Linux. With *nix, I could connect to another machine within the LAN (with identical wifi) by SSH $ ssh assistant@assistant.local algorithms@assistant.local's ...
2
votes
1answer
816 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
0answers
69 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
1answer
90 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
1answer
253 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
0answers
95 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/...
0
votes
0answers
54 views

Is there a SSH client support ssh-dss?

There is a HostKeyAlgorithms ssh-dss in my MacOSX .ssh/config, i need this option in Android SSH client either, is there a SSH client support this?
0
votes
0answers
769 views

How can I setup a local SOCKS5 proxy that doesn't require Android VPN service?

I need a local SOCKS5 proxy server that doesn't use the Android VPN service. Why? Because I want to chain it with the no-root firewall NetGuard. NetGuard already uses the Android VPN service. ...
1
vote
0answers
692 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 ...
0
votes
2answers
1k 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
1answer
73 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 ...
0
votes
1answer
937 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 ...
0
votes
1answer
502 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 ...
0
votes
1answer
786 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-...
2
votes
1answer
1k views

Using LineageOS native SSHD over ADB

Ive got most of the way to getting native sshd working over usb (mainly for shell and winscp), but very murky and not quite there yet. I want to use the built-in sshd, not download an app for it. ...
3
votes
1answer
437 views

Can I use ADB wirelessly on an unrooted phone via SSH without a USB connection?

My phone, an LG V10, is unrooted, something that I intend to fix. However, I appear to have a catch-22 ... To put simply, it has a broken USB port, ergo the common recommendation of using USB ...
0
votes
1answer
3k views

JuiceSSH android rsa key

I am using JuiceSSH on android to connect to an ssh server running on my linux box. I would like to authenticate using an RSA key pair. Am I able to do this using JuiceSSh on android? Does anyone ...
1
vote
0answers
23 views

Forward port over key-secured ssh connection

I run a personal web service on my desktop. On my laptop I use ssh -L to open a connection to it like so: ssh -L <port>:<remote host>:<port> That works just fine for Mac and Linux. ...
0
votes
0answers
17 views

Extract a gpg file in a nexus 7?

I want to extract a gpg file (passphrase only, no key), with a Nexus 7. It's just a gpg with a txt file inside. How do I get it to the nexus 7 and then even if I can extract it, how do I get to it ...
0
votes
0answers
411 views

How to do development on a Google Pixel C tablet device?

Is there a terminal app that can do development like on linux? And is it possible save the source local but not ssh remote server?
1
vote
0answers
494 views

Unable to connect to SSH server via Tor

I'm attempting to connect to my SSH server via Tor on my rooted Android. I couldn't find an SSH client for Android that supports the use of a SOCKS proxy, so I tried to use transparent proxying with ...
3
votes
0answers
359 views

SD writing capable SSH server for Android Marshmallow (6.0.1)

Is there any SSH Server for android (similar to SSHelper or SSH Droid) that will allow me to write to the (external) SD card without having to root my tablet? Whenever I search for this kind problem, ...
0
votes
1answer
914 views

How can I run a startup script for GNURoot Debian?

I've installed GNURoot debian on a rooted Android device and I can launch a debian shell programmatically using am, but I couldn't figure out how to run a command like starting dropbear. What's the ...
7
votes
4answers
7k views

Accessing termux user environment from other consoles

I've recently started using the amazing Termux terminal app and linux environment. It provides a wealth of full-function terminal utilities. It would be great to be able to access these utilities ...
0
votes
0answers
844 views

How to access GNURoot Debian executables from outside the app?

I've just setup GNURoot Debian and I could install Python 2.7. However, I'd like to run Python 2.7 outside of the GNURoot Debian Terminal Window. For example, if I ssh into the device, I'd like to be ...
2
votes
1answer
3k views

SSHFS from Android to NAS

I'm trying to get any folder on the internal storage of a HTC M7 to be mounted via sshfs to a folder on my NAS. The goal would be to have for example the /sdcard/My Documents/My Recordings folder ...
1
vote
1answer
665 views

Android app x11 forwarding to computer

I have "SSH Server" app installed. I'm able to connect and launch apps using am. I want to forward the apps through X11 forwarding to my linux computer. Is that possible? There is a "X11 forwarding" ...
1
vote
1answer
1k views

Can't seem to SSH from Android

I'm trying to access a remote server using SSH on my phone but it dosent seem to work no matter the method/app I try. I've tried various SSH apps in the play store and recently tried Termux's CLI (...
0
votes
0answers
107 views

Syncing entire SD card makes phone hot/unresponsive

Samsung Galaxy S Relay Android 4.4.4 Cyanogenmod 11 I've tried many different solutions to sync my phone's SD cards with a computer over Wi-Fi, leaving them to run overnight because there's so much ...
5
votes
1answer
1k views

sshd on CyanogenMod 13 Nightly failing without explanation

I've been trying to setup sshd on CM13, which seems straightforward enough, but doesn't seem to want to work. I followed the Wiki article Doc: sshd, but when I run the 99sshd script it produces the ...
0
votes
1answer
230 views

ssh: HOME variable issue

I'm in Cyanogenmod 13 and I'm having troubles getting ssh working properly. Server: With AuthorizedKeysFile commented in the sshd_config file, I get a weird path in logcat: Could not open authorized ...
1
vote
0answers
937 views

Manage display refresh rate/ resolution of a ROM via ssh?

Probably a silly question.. but I have root ssh access to an android TV stick running openelec (on an sd card). Long story short i am trying to figure out where the refresh rate/resolution settings ...
0
votes
0answers
472 views

PIE supported ssh server for android 5.1.1

I recently updated my moto E to android 5.1.1. When I executed dropbear binaries that used to work well on previous android versions, It showed this error :: only position independent executables(...
1
vote
1answer
87 views

Is there any SSH OS support in Android?

I am reading the article Jolla and SSH push Sailfish Secure as “European alternative” mobile OS. I have used third-party applications for SSH in my phone but would like to have OS supported. How ...
0
votes
2answers
285 views

Will it work if I set up a http/ssh/ftp server on my android phone using the cellular mobile network?

I can set up a ssh server on my android phone, by running SSH Server by Ice Code App on my Android 4.4.2 phone over my home WiFi network. So my laptop can access the my phone via ssh in the same WiFi ...
4
votes
1answer
4k views

How to get battery status in terminal?

I have gingerbread(2.3.6) phone with dropbear installed. I usually access my phone over wifi & run commands in putty. I want to get Battery status & percentage in terminal. Is there any ...
0
votes
0answers
316 views

How to add private key to keychain in Android?

I do not want to type my passwords all the time, but instead, just the password to my private keys. I am using Samsung Galaxy 4 and Android 5.0.1. How can you add private key to your Android ...
0
votes
0answers
208 views

Unable to connect to PC via SSH from Android

I use Windows 7 on my Desktop. I tried to connect my Android to my PC via Wi-Fi connection. SSH port 22 is open on my desktop. I use ConnectBot to connect to my PC. The result of ipconfig: C:\...
0
votes
0answers
424 views

Port forwarding in android

I have a rooted android device in which I have installed SSH server. i need to access my device outside my LANi.e. over the internet.inorder to access it over the internet i need to enable port ...
5
votes
2answers
14k views

How do I install DropBear SSH on Android?

I would like to install DropBear SSH on my 64 bit Android 5.1 device, but it seems that all the installation tutorials and how-tos have disappeared or contain links to broken files/downloads. Could ...
8
votes
1answer
4k views

SSHelper: SD card Permission denied

I am unable to write to my sdcard using SSHelper: u0_a264@MSM8974:/storage/sdcard1 $ df /storage/sdcard1 ...
4
votes
1answer
2k views

SSH Tunnel through Android device

My friend has a little trouble getting around his new Linux system. I'm fairly knowledgeable in that topic so I want to SSH into his machine to take a look for myself. Problem is he lives in a ...