Questions tagged [ssh]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

ssh via my mobile phone

I need a mobile client which I can run the command given in this answer easily on it and also the port forwarding works on my mobile correctly without any need of being root. The command is: ssh -D ...
0
votes
0answers
13 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
1answer
37 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
0answers
59 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 ...
0
votes
1answer
30 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
0answers
44 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
1answer
57 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 ...
1
vote
1answer
94 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 ...
0
votes
0answers
28 views

I still get permission denied (pubkey, password) after I disabled PubkeyAuthentication and having restarted my nethunter phone

I'm trying to setup my nethunter phone to use its ssh server. However, no matter how hard (not smart) I try, I get the permission denied (publickey, password) error. On my phone-server, my sshd_config ...
3
votes
1answer
356 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?
0
votes
0answers
21 views

Problem with SFTP after converting from sh to bash at login

After SSHing into the android box (SSHDroid app provides the host) I followed psyincerise's answer (the last one listed) at How to set bash as default shell?. It let me directly log into bash but it ...
3
votes
0answers
105 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
1answer
142 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 ...
1
vote
1answer
780 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 ...
3
votes
1answer
386 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 ...
1
vote
1answer
1k 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
2answers
179 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 ...
1
vote
1answer
520 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
355 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
76 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
29 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
25 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 ...
3
votes
1answer
3k 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
98 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
119 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
434 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
131 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
955 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. ...
2
votes
0answers
931 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
2k 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
87 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
1answer
1k 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
1answer
654 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
1k 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
2k 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. ...
2
votes
1answer
547 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 ...
1
vote
1answer
4k 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
430 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?
2
votes
0answers
565 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
380 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
949 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 ...
9
votes
4answers
10k 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
872 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 ...
2
votes
1answer
758 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
2k 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
108 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 ...
4
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 ...