Skip to main content

Questions tagged [ssh]

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

56 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
4k views

Error `ssh not found` in terminal Android

I'm trying to use ssh in the app Terminal Emulator in Android, but it gives me the error /system/bin/sh: ssh: not found. This is strange to me, since I also use ssh in the apps AndFTP and SSH Server ...
Adriaan's user avatar
  • 143
3 votes
0 answers
191 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
3 votes
0 answers
863 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 ...
SaAtomic's user avatar
  • 303
3 votes
0 answers
422 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, ...
jmlorenzi's user avatar
  • 131
3 votes
1 answer
2k views

Setup VPN access through SSH

I have a Samsung S4 with last kitkat update. I would like to set it up so that I can access my University services. For that, when I use my laptop, I just set up a ssh tunnel like: ssh -D 8081 -f -C -...
Open the way's user avatar
3 votes
0 answers
452 views

How to gain access to Android GUI having only remote root access to console?

I have remote root SSH access to my Android device, i.e. can upload and start programs there. How to get GUI access, i.e. view the screen and press buttons there remotely. For X11, x11vnc can be ...
Vi0's user avatar
  • 1,665
3 votes
0 answers
686 views

Using a VPS as a proxy

I am trying to use my VPS running Cent OS as a proxy via SSH from my Galaxy S3 running Cyanogen Mod 9. I can connect to my VPS using ConnectBot. In this program I sett the Port Forward to: Type: ...
Dr Hitchcock's user avatar
2 votes
0 answers
69 views

Is there is a way to exempt apps (e.g. termux) from Doze in Android 14?

Since Android 14, I'm no longer able to log into my phone remotely via a reverse tunnel to a server with a static IP. It appears that Doze is the underlying issue; it stops termux, which stops the ...
Steve Newcomb's user avatar
2 votes
0 answers
918 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
2 votes
1 answer
869 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
2 votes
1 answer
77 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
2 votes
0 answers
251 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
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
2 votes
1 answer
1k 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 ...
Sakuya1341's user avatar
2 votes
0 answers
2k views

Why I cannot SSH as root into my android?

I set an public key auth SSH server in my rooted Note 4 through Dropbear (Terminal IDE). I am being able to log in as any user, except root. I get: [2085] Jan 31 20:05:21 exit after auth (root): ...
Luis A. Florit's user avatar
2 votes
1 answer
432 views

Is root ownership inherited in shell scripts? (rsync via ssh permission denied)

I am running Android Revolution HD 52.0 custom ROM (Android 4.3) with Koush's superuser 1.0.3.0 on a Samsung Galaxy S3 GT-I9300. In the hope of using some native shell applications on my phone for ...
harlandski's user avatar
2 votes
0 answers
413 views

Multicast dns registers hostname based on IP address

I would like to use avahi/zeroconf to do ssh logins to devices which are connected to the local network by wifi. Since I do not have control over the wifi routers I cannot assign fixed IP-addresses to ...
highsciguy's user avatar
1 vote
0 answers
569 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
1 vote
0 answers
289 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
371 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
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
  • 495
1 vote
0 answers
221 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
1 vote
0 answers
494 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
1 vote
0 answers
25 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. ...
Matthew Piziak's user avatar
1 vote
0 answers
1k 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 ...
gyaani_guy's user avatar
1 vote
0 answers
568 views

Can't show the content of /sdcard of my Android phone from Ubuntu's Nautilus or FileZilla via sftp

I set up a ssh server on Android using SSH Server by Ice Code App. Settings of ssh server: https://i.sstatic.net/ZlbzJ.jpg https://i.sstatic.net/b1X4i.jpg https://i.sstatic.net/CgT4d.jpg ...
Tim's user avatar
  • 495
1 vote
0 answers
667 views

Installing GCC For Free?

I have a rooted android device I want to use as a toy server. I need to install GCC, so I can ssh in and compile other software. How do I install GCC and whatever libs/headers I need to compile ...
interfect's user avatar
  • 471
1 vote
0 answers
841 views

DropBear dropping connections

I've got DropBear II installed on my android and my public key uploaded. But when I connect with my key, it closes the connection right away: jlaptop:home jim$ ssh 192.168.1.14 -i android.key Welcome ...
directedition's user avatar
1 vote
1 answer
139 views

Mac's Android File Explorer and SSH are not in sync

I transfered some photos using the Android File Explorer application for Macs. However, I accidentally put them in the Music/ folder and Android File Explorer doesn't allow me to move files. So I ...
Han's user avatar
  • 111
0 votes
0 answers
120 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
0 votes
0 answers
184 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
743 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
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
0 answers
421 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
332 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
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
0 votes
0 answers
125 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
  • 543
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
0 votes
0 answers
26 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 ...
user avatar
0 votes
1 answer
1k 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 ...
George Profenza's user avatar
0 votes
0 answers
933 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 ...
George Profenza's user avatar
0 votes
0 answers
122 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 ...
endolith's user avatar
  • 3,045
0 votes
1 answer
341 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 ...
Claudio's user avatar
  • 261
0 votes
0 answers
544 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(...
jonny789's user avatar
  • 365
0 votes
0 answers
502 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 ...
Léo Léopold Hertz 준영's user avatar
0 votes
0 answers
489 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:\...
iTamizhan's user avatar
0 votes
0 answers
523 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 ...
iTamizhan's user avatar
0 votes
0 answers
96 views

scp is given access to a subdirectory. How to command scp to change parent directory?

When using scp, I am given access to a subdirectory. How should I amend the command to copy files from a different parent directory? I am using the standard scp command as follows: scp -P port-number ...
user121392's user avatar
0 votes
1 answer
2k views

Changing PATH, HOME env variables of dropbear ssh session

I made a dropbear multi binary that has android patch. But everytime , when i login via ssh using dropbear as ssh server. On checking environment variables, I get :: HOME=/sdcard PATH=/sbin:/system/...
jonny789's user avatar
  • 365
0 votes
1 answer
440 views

Allowing SSH connection to Android Devices with Droidwall installed

I've installed SSHDroid and Droidwall on my Android device. I know that SSHDroid won't work if Droidwall is enabled. Is there's anyway to list SSH connection in Droidwall whitelist? So, I can connect ...
Mas Bagol's user avatar
  • 131