this post was submitted on 04 Sep 2023
327 points (96.1% liked)

Linux

48400 readers
687 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 1 year ago (3 children)

Termux is awesome! I use it for a bunch of things:

  • sshing into servers and my home when I'm out and about
  • using croc to transfer files
  • making videos I'm going to send people smaller with ffmpeg
  • downloading stuff with yt-dlp
  • giving myself access to the sandbox + /sdcard from other computers by running an ssh server
  • scripting phone stuff (like taking photos) with the api
  • running weechat locally, which I can then connect to with weechat android
  • using vim
  • probably a bunch of other things I'm forgetting
[–] [email protected] 3 points 1 year ago (1 children)

Using termux for SSH as well. Haven't heard about croc before. Are there advantages over copying files with ssh (scp) for example?

[–] [email protected] 2 points 1 year ago

The main advantages for me are:

  1. You don't need to swap ssh keys, which makes it great for setting up new systems I haven't connected to everything else yet (or don't plan to)
  2. It's cross platform
  3. The devices don't need to be on the same network (it NAT busts too)
[–] [email protected] 3 points 1 year ago (1 children)

Does croc relay pass only metadata about the client addresses, or is the data itself sent via the relay?

[–] [email protected] 2 points 1 year ago

As far as I know the relay just NAT busts, after that it's encrypted p2p.

[–] [email protected] 3 points 1 year ago (1 children)

croc is best to use the android app instead of croc in termux

[–] [email protected] 1 points 1 year ago (1 children)

Why install another app when croc is available from termux?

[–] [email protected] 1 points 1 year ago

That's pretty much where I'm at too, and I find it easier to get to the file(s) I want to send through the cli. No judgement to anyone who prefers the gui though!