Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 16575

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

2 votes

Cannot add host to "known_hosts" in Android

Even after you used your "root powers" to create the /data/.ssh directory, and put a (most likely empty) known_hosts file there, the issue was probably the same: both where owned by the user who created … would first need to figure out the user, which could be done e.g. using ls -l /data/<package_name> (replace <package_name> with the package name of the app), and then do a chown -R <user>:<group> /data/.ssh
Izzy's user avatar
  • 91.3k
6 votes
Accepted

How to ssh into an unrooted Android device using sshdroid from a Linux computer

Summing up from the comments This answer states to use ssh <user>@<ip> -p <port> instead of the "colon syntax" In SSHDroid, go to "Options" and check/define the port (default: 2222) and password to be … Thus if you followed above steps, this should now work (of course with <android-ip> replaced by the real IP address of the Android device): ssh me@<android-ip> -p 2222 …
Izzy's user avatar
  • 91.3k
7 votes

How do I install DropBear SSH on Android?

in case that link dies), again assuming the required files are already copied to your SD card: # Creating a home-dir for DropBear mkdir /data/dropbear chmod 755 /data/dropbear mkdir /data/dropbear/.ssh … chmod 700 /data/dropbear/.ssh # Copy over our files mv /sdcard/authorized_keys /data/dropbear/.ssh/ chown root: /data/dropbear/.ssh/authorized_keys chmod 600 /data/dropbear/.ssh/authorized_keys # Generate …
Izzy's user avatar
  • 91.3k
7 votes
Accepted

scp and rsync to transfer data from Linux to Android

Installing an SSH Server app (e.g. SSHelper or DigiSSHD / SSH Server) would give you the possibility to login via ssh, or remote-copy via scp. … according to the app description) gives you a quite complete package, even including the famous Midnight Commander, and a lot more useful tools: javac, java, dx, proguard, aapt, apkbuilder, signer, ssh
Izzy's user avatar
  • 91.3k
3 votes
Accepted

Free (libre) SSHD for Android?

To compensate: You can also find some SSH Server apps on 1mobile, e.g. SSH Server. The website allows you to simply download the .apk from your browser, no login required. …
Izzy's user avatar
  • 91.3k
0 votes
Accepted

How can I determine the hostname of another machine on the local network?

For that, you'd need a local DNS server on your local network, which gets updated by the DHCP server assigning the IP to that machine (many routers offer this feature). You can then tell your Android …
Izzy's user avatar
  • 91.3k
1 vote

How to connect to a Windows PC through SSH from an Android phone?

I guess there's some trouble in your conception: Connectbot is an SSH client, while Windows does not ship with an SSH server pre-installed. … So unless you've installed some SSH server there yourself (details on that part are beyond the scope of this site), you won't have much luck connecting. …
Izzy's user avatar
  • 91.3k
2 votes

Synchronising files over SSH

It not only offers SSH, but plenty of additional protocols – including Samba, FTP, and a bunch of cloud services (yes, even ownCloud). More alternatives can be found in my list here. …
Izzy's user avatar
  • 91.3k
2 votes
Accepted

Do I need adb? Whats wrong with terminal?

SSH To use SSH, you will need to install a SSH server on your Android device. … Similar to ssh, you can also directly execute commands by simply pass them as parameters. …
Izzy's user avatar
  • 91.3k
6 votes

Mount /sdcard with Linux

If you want to give adbfs a try, here are some instructions. You need to take care to grab the right one, as there are two projects around: one is simply called adbfs, I couldn't get that to work corr …
Izzy's user avatar
  • 91.3k
2 votes
Accepted

Send files from Linux to Android via ssh

You have different options here: SCP: As Dan already pointed out, Android soesn't ship with any SSH server by default. … And like with SSH, you first will need to install an FTP Server App on your device as well. Important note: Many FTP clients/connections default to ASCII transfer mode. …
Izzy's user avatar
  • 91.3k
9 votes
Accepted

Write permission on certain paths, like the SD card (extSdCard)

One of the restrictions introduced with 4.4-kitkat was moving the WRITE_EXTERNAL_STORAGE permission to protection-level "SignatureOrSystem", which means even if requested, a "normal app" (i.e. one you …
Izzy's user avatar
  • 91.3k
2 votes

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

That entirely depends on your carrier's setup. For security reasons, several carriers (not all) block the required ports for incoming connections – so though your setup theoretically runs fine, you ca …
Izzy's user avatar
  • 91.3k