Remove All Ads from XDA

[APP][INFO|SUPPORT] SSHelper (The free Android SSH Server Application)

1,451 posts
Thanks Meter: 2,168
By E:V:A, Recognized Developer on 2nd June 2014, 09:51 AM
Post Reply Email Thread
17th November 2014, 07:08 PM |#11  
Thanks Meter: 2
Originally Posted by E:V:A

Are you actually having any issues? Please post what. I've used this on a KK 4.4.4 MTK device, using SuperSU 2.16, and there are no problems with this on that device.

In short, yes.

Currently on stack (unrooted) Lollipop on a Nexus 7 (2013), and while the ssh server works it can not allocate a pty, resulting in the shell not being all that usable.

While I expect that rooting will be a requirement to adjust things, I would rather avoid the option of completely disabiling selinux enforcement.
(Yes, it's a quick and easy way to solve the problem. But the selinux enforcement buys quite a lot in the way of security, so I'd rather limit things to say, a tweaked selinux policy.)
21st November 2014, 05:34 PM |#12  
Junior Member
Thanks Meter: 0
Okay noob question .... My rooted Nexus 5, with sshelper installed, changed listening port to 3333, set a new password

Logon from Windows server with putty gives ...

login as: admin
SSHelper Version 6.8 Copyright 2014, P. Lutus
admin@'s password:
Server refused to allocate pty
sh: /data/data/com.arachnoid.sshelper/home/.profile[2]: uname: not found

What cretinous thing have I omitted to notice?

Regards Marcus
Attached Thumbnails
Click image for larger version

Name:	2014-11-21 17.31.03.jpg
Views:	150
Size:	248.8 KB
ID:	3026813   Click image for larger version

Name:	2014-11-21 17.32.01.png
Views:	146
Size:	150.5 KB
ID:	3026814  
21st November 2014, 06:38 PM |#13  
Thanks Meter: 58
I've been running your app for a few days with good results, thank you for that!

Would it be possible to implement a wifi lock only when there is a client connected? Wifi lock all the time is killing my battery and my standby wifi seems to be responsive enough to receive incoming connections (often after 2 or 3 attempts, but it still eventually works)
23rd November 2014, 03:05 AM |#14  
E:V:A's Avatar
OP Recognized Developer
Flag -∇ϕ
Thanks Meter: 2,168
First of all let me clarify that I am not the developer and maintainer of this App. It is Paul Lutus, and you can message him on his website. I only started this thread to help him out and to help myself of having a place to post problems. I really like his app, but THESE are really annoying issues, and has proably nothing to do with his app but with the screwed up way that Google is changing device permissions.

The only solution I know about for problem devices is something like I re-posted in edited post #8:

Good Luck.
3rd January 2016, 02:01 PM |#15  
Thanks Meter: 15
Is it possible to start sftp session as root user? If i try to reach /data for example i get permission denied error In terminal i must type su to gain root rights.
Thank you!
Post Reply Subscribe to Thread

selinux, server, sftpd, sshd, sshelper

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes