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
5
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 ...
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 ...
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, ...
3
votes
0answers
423 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 ...
3
votes
0answers
514 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: ...
2
votes
0answers
58 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 ...
2
votes
1answer
350 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 ...
2
votes
0answers
928 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 ...
2
votes
1answer
543 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 ...
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 ...
2
votes
0answers
3k 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 ...
2
votes
0answers
1k 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): ...
2
votes
1answer
333 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 ...
2
votes
1answer
1k 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 -...
2
votes
0answers
353 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 ...
1
vote
0answers
25 views
How to stream an encrypted backup of the entire device as one file to ftp?
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 accomodate the backup so I wanted to upload it to the ...
1
vote
1answer
508 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 ...
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/...
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. ...
1
vote
0answers
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 ...
1
vote
0answers
333 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: http://i.stack.imgur.com/ZlbzJ.jpg
http://i.stack.imgur.com/b1X4i.jpg http://i.stack.imgur.com/CgT4d.jpg ...
1
vote
0answers
545 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 ...
1
vote
0answers
697 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 ...
1
vote
1answer
131 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 ...
1
vote
0answers
1k views
Better Terminal Emulator Pro and dns/nslookup resolution
I just recently purchased "Better Terminal Emulator Pro" on the Google Play Store.
It works well for everything so far, except when I try to do something like ping google.com or use a hostname for ...
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 ...
0
votes
1answer
29 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) ...
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 ...
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 ...
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
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
433 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 ...
0
votes
0answers
952 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. ...
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?
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 ...
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 ...
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 ...
0
votes
1answer
235 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 ...
0
votes
0answers
487 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(...
0
votes
0answers
340 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
219 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
455 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 ...
0
votes
0answers
71 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 ...
0
votes
1answer
1k 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/...
0
votes
1answer
320 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 ...
0
votes
1answer
441 views
How to connect to multiple hosts through SSH, with the “same ip”, with “Better Terminal Emulator Pro”?
I'm trying to set up SSH connections to my home network. The application I'm using is Better Terminal Emulator Pro. But it only allows me to connect to one host with the same IP address(the external ...