LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 03-18-2022, 09:21 AM   #16
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 147Reputation: 147

Quote:
Originally Posted by pan64 View Post
[...]do not need to implement anything [...]I wanted to ask why do you want to reinvent the wheel [...]
Who said anything about implementing? You didn't ask and I don't want to.

Quote:
You can find a lot of ssh/scp/sftp clients for android,
        I have some but wasn't my question.
        The problem is over years Android is more & more locked down and some variants even more so.
        While I was able to ssh/rsync to & from areas, the problem is in recent years Android even restricts access to your own SD card, which is where I wanted to rsync (Android PC being almost full but SD card being almost empty.)
        Elsewhere people describe how to ssh/rsync with termux, and I read termux wiki and you only get to copy to certain directory/folder on SD card, which defeats purpose.
        I'll mark this solved as what rkelsen said was true and I could ssh both ways (with connectbot or simplesshd or termux) though wasn't able to use solution to do what I wanted...
        I hope Android is replaced with more programmer-/system-administrator-friendly OSs that let you do more, like Ubuntu touch sort of did (though started snapd nonsense) but of course Unix & Slackware (and Gentoo, Devuan, non-systemd Arch forks, etc.) are better...
        The reason I asked is because MTP no longer works on the Android PC (for years) so I have to open case, remove SD card, put in desktop's memory card reader, or make archive/tarball to download, just to transfer files to Android PC...

Last edited by dchmelik; 03-18-2022 at 10:15 AM.
 
Old 03-18-2022, 04:01 PM   #17
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,456
Blog Entries: 7

Rep: Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560
Android isn't designed as a general purpose OS. It's highly customized for phones & tablets and low power devices, and seemingly only uses the Linux kernel as a matter of convenience. I wouldn't think it'd work well on a computer. It's quite heavily "chopped".

With android, the "system" partition is always mounted read only. You need to remount it rw if you want to change system files. As you mentioned your device is rooted you should be able to do this with standard commands.

For file transfers to & from Android devices, I use an app called primitiveftpd which is basically an ftp server. It works quite well, is fast & reliable over wifi.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on ssh authorization for rsync daemon server and rsync ssh shell framp Linux - Security 2 11-29-2021 09:47 AM
rsync over ssh VS rsync.d RISKS tripialos Linux - Security 4 02-20-2013 06:22 PM
[SOLVED] SSH no route to host error. can ssh outside lan, but not to clients on lan... jmd9qs Linux - Networking 3 01-21-2012 10:28 AM
[SOLVED] rsync fails in cron - ssh key prob for rsync? jonathansfl Linux - Server 6 12-09-2010 09:48 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration