Skip to main content

Questions tagged [ssh]

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

Filter by
Sorted by
Tagged with
12 votes
1 answer
28k 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?
Garrie's user avatar
  • 121
6 votes
1 answer
5k 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 ...
Irfan Latif's user avatar
  • 20.7k
45 votes
3 answers
79k views

Is there some SSH server for android?

Is there an ssh server for Android (such as openssh for Ubuntu) that will allow me to access my device console via PuTTY?
Diogo's user avatar
  • 1,634
3 votes
1 answer
6k views

Mount /sdcard with Linux

I have two Android 4.x devices, one 4.0.2 and another 4.4.2. On both, I have installed SSHelper to push data to and from the device using rsync. It worked, but the new environment does not even have a ...
Martin Ueding's user avatar
2 votes
1 answer
2k 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 latter has an SSH server running on port 8022. The central SSH server is running on AWS and has an ...
Ehtizad Zashkiyor's user avatar
2 votes
0 answers
252 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
19 votes
2 answers
31k views

Is it possible to use an Android device as X11 server for a remote machine over SSH?

When my desktop computer is up, I can connect to it with my notebook, even over the internet (I've set up my router to forward SSH to my desktop computer). My desktop computer runs GNU/Linux (Ubuntu ...
ern0's user avatar
  • 294
13 votes
2 answers
47k views

How to start SSH Server in my Android?

I am trying to login to Android Eee pad transformer from my other linux box using SSH. This are the step i followed and failed. So asking here for the correct answer. 1) Go to Android market and ...
YumYumYum's user avatar
  • 439
7 votes
1 answer
5k 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?
Kevin's user avatar
  • 173
5 votes
2 answers
3k views

Running a tasker task via SSHDroid (or adb shell)

I'm trying to run a tasker task manually from ADB Shell, via SSHDroid. I'm running the following in putty (Windows SSH client): am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -es task_name ...
VitalyB's user avatar
  • 181
2 votes
1 answer
1k 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 ...
beppe9000's user avatar
  • 155
2 votes
1 answer
703 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 ...
confetti's user avatar
  • 602
25 votes
4 answers
3k views

Automatically connect to Wi-Fi nodes, but route everything through encryption

Related to my question about VPNs, is there any way to get my phone to automatically connect to unencrypted access points, but route all my traffic through my home network? This would be kind of like ...
endolith's user avatar
  • 3,045
25 votes
12 answers
52k views

Are there any command line SSH clients available for rooted Android phones?

I of course have ConnectBot, but I'm looking for something I can script. Edit: To clarify here, I'm not interested in running scripts from a terminal. What I want to do is run an SSH command in an ...
TREE's user avatar
  • 1,172
23 votes
3 answers
9k views

How can I see the fingerprint of my adbkey?

You should know that Android 4.2.2 (or just before) introduced RSA key checking for adb access. – The device asks now if you want to allow access. To avoid asking every time, the computer presents an ...
Robert Siemer's user avatar
10 votes
2 answers
16k views

How to get battery status in terminal?

I have a 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 command or program to ...
jonny789's user avatar
  • 365
9 votes
2 answers
14k 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 ...
confetti's user avatar
  • 602
7 votes
1 answer
1k views

Exotic key combos (e.g. for emacs) with bluetooth keyboard

I recently bought a bluetooth keyboard (logitech, not sure of the exact model) for my Nexus 10 (on Android 4.3). It works nicely for everything except for some unusual key combos used in Emacs, such ...
Latanius's user avatar
  • 171
6 votes
1 answer
21k 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 ...
Just Khaithang's user avatar
6 votes
3 answers
3k views

Set hostname for SSHelper

I currently use SSHelper to transfer my data to the Android 4.0 device. The app displays the IP address that is currently assigned. Since this IP address changes regularly, I'd like to use a hostname ...
Martin Ueding's user avatar
6 votes
4 answers
29k views

Send files from Linux to Android via ssh

I want to send some specific files from my linux PC to my android device. I'd like to send it automatically using terminal commands, so there will be no drag and drop files. I don't know what is the ...
user19's user avatar
  • 63
4 votes
2 answers
4k views

Automatic system-wide proxy

When I'm on a public network that I don't trust, I use a combination of ConnectBot and ProxyDroid (with "Global Proxy" enabled) to tunnel my phone's traffic through a trusted server that I control. ...
Dan's user avatar
  • 381
4 votes
1 answer
4k 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 ...
highsciguy's user avatar
3 votes
2 answers
5k 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-...
msaiducar's user avatar
3 votes
2 answers
6k views

How can I create a key par for sgit?

I'm trying to use sgit to connect to a remote repository. It has a screen to "Manage Private Keys," but it doesn't seem to include a key generator. Instead, it lets you browse the file system, so ...
Don Branson's user avatar
2 votes
1 answer
4k views

SSH internet through Connect bot

Is it possible to forward all traffic from internet app over connect bot forwarded port?
Thomas's user avatar
  • 121
2 votes
5 answers
6k views

possible to ssh into android phone over 3G?

Is it possible to run an ssh shell on an android phone when the phone is remotely connected but on 3G? I have my phone remote and sending data over 3G but I might want to change something on it. I ...
rogerd's user avatar
  • 261
1 vote
2 answers
3k 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 ...
Tim's user avatar
  • 495
1 vote
1 answer
8k views

ssh: No controlling tty: open /dev/tty: No such device or address

When connecting from PC/Cygwin via SSH (over WiFi) to phone, I am always greeted with the following macabre message: $ ssh -T [email protected] -p 50000 Authenticated with partial success. root@192....
not2qubit's user avatar
  • 857
1 vote
0 answers
569 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