Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

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

0
votes
0answers
15 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 ...
1
vote
1answer
93 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
38 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
63 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
108 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
52 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
17 views

using openssh or libshh binaries for local/dynamic portforwading

I would like to build an ssh proxy tunnel from my android device to a my server running as a ssh server. I did successfully build ssh binaries for ARM and connected to remote host in termux command ...
0
votes
0answers
43 views

Is there a SSH client support ssh-dss?

There is a HostKeyAlgorithms ssh-dss in my MacOSX .ssh/config, i need this option in Android SSH client either, is there a SSH client support this?
0
votes
0answers
606 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
24 views

Android 5.1.1 root ssh create big trash file in /data to override old freed but not wiped content

Hi I freed the storage of /data ( and /data/media/0 ) using TWRP mkfs. What I did was an advanced wipe with TWRP. Now I want to override all the free space of /data with garbage to ensure that my ...
1
vote
0answers
510 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
906 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
67 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 ...
0
votes
1answer
743 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 ...
0
votes
1answer
414 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
599 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
1k 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. ...
3
votes
1answer
342 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 ...
0
votes
1answer
2k 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
22 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
397 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?
1
vote
0answers
439 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
336 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
860 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 ...
7
votes
4answers
6k 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
819 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 ...
1
vote
1answer
624 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
1k 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
105 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 ...
5
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 ...
0
votes
1answer
224 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 ...
1
vote
0answers
856 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 ...
0
votes
0answers
456 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(...
1
vote
1answer
81 views

Is there any SSH OS support in Android?

I am reading the article Jolla and SSH push Sailfish Secure as “European alternative” mobile OS. I have used third-party applications for SSH in my phone but would like to have OS supported. How ...
0
votes
2answers
280 views

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

I can set up a ssh server on my android phone, by running SSH Server by Ice Code App on my Android 4.4.2 phone over my home WiFi network. So my laptop can access the my phone via ssh in the same WiFi ...
4
votes
1answer
4k views

How to get battery status in terminal?

I have gingerbread(2.3.6) 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 ...
0
votes
0answers
300 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
205 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
415 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 ...
5
votes
2answers
13k views

How do I install DropBear SSH on Android?

I would like to install DropBear SSH on my 64 bit Android 5.1 device, but it seems that all the installation tutorials and how-tos have disappeared or contain links to broken files/downloads. Could ...
8
votes
1answer
3k views

SSHelper: SD card Permission denied

I am unable to write to my sdcard using SSHelper: u0_a264@MSM8974:/storage/sdcard1 $ df /storage/sdcard1 ...
4
votes
1answer
1k 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 ...
1
vote
0answers
307 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
2k 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 ...
0
votes
0answers
49 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 ...
4
votes
1answer
12k views

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

I can't seem to ssh into my Android device. I have not rooted the device and I don't really want to. I tried connecting to it via the terminal using the following command: ssh root@ip-address:port-...
0
votes
1answer
891 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/...
1
vote
1answer
566 views

Does beep over SSH work when root?

I tried running a busybox version of beep over SSH but recieved the following error message: $ beep beep: can't open console $ ls -l /...