I'm trying to get my feet wet for file transfers between home computers on my router, windows and mac later, for now only tw and slowroll. from desktop: ~ ping laptop-IP good ping from both ~ ssh localhost ssh: connect to host localhost port 22: Connection refused on laptop: # firewall-cmd --add-port=22/tcp success from desktop: ~ ssh laptop-IP ssh: connect to host laptop-IP port 22: Connection refused I guess there's no pint in IP's while even localhost is refusing BTW, if w=and when I get going what kind of trasfer speeds can I expect? TIA
* Ben T. Fender <slowroller@trixtar.org> [02-25-24 20:05]:
I'm trying to get my feet wet for file transfers between home computers on my router, windows and mac later, for now only tw and slowroll.
from desktop: ~ ping laptop-IP good ping
from both ~ ssh localhost ssh: connect to host localhost port 22: Connection refused
ssh to localhost is to the computer you are at the keyboard. to ssh to another box, you must use the ip of that box on THAT box, ip addr will tell you it's ip address do not try to used 127.0.0.1 for ssh set down in front of laptop-IP and issue: ip addr ssh to one of the resulting ip's but not and fe80 address. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
Sun, 25 Feb 2024 20:09:19 -0500 Patrick Shanahan <paka@opensuse.org> :
* Ben T. Fender <slowroller@trixtar.org> [02-25-24 20:05]:
I'm trying to get my feet wet for file transfers between home computers on my router, windows and mac later, for now only tw and slowroll.
from desktop: ~ ping laptop-IP good ping
from both ~ ssh localhost ssh: connect to host localhost port 22: Connection refused
ssh to localhost is to the computer you are at the keyboard. to ssh to another box, you must use the ip of that box
on THAT box, ip addr will tell you it's ip address
do not try to used 127.0.0.1 for ssh
set down in front of laptop-IP and issue: ip addr
ssh to one of the resulting ip's but not and fe80 address.
this is what was missing, systemd commands ~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service Now that I'm logged-in on the desktop and remotely on the laptop how do I trasfer thisfile.txt from the laptop to the desktop? Do I issue a command to send from the laptop where I'm remotely logged-in or do I issue some 'get' command in the desktop to get the file out of the laptop?
-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2024-02-26 02:38, Ben T. Fender wrote: ...
this is what was missing, systemd commands
~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service
You have to use "enable" to make it permanent.
Now that I'm logged-in on the desktop and remotely on the laptop how do I trasfer thisfile.txt from the laptop to the desktop? Do I issue a command to send from the laptop where I'm remotely logged-in or do I issue some 'get' command in the desktop to get the file out of the laptop?
you use sftp: sftp sftp://username@hostname.domain Or "sshfs" to create a virtual filesystem. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Mon, 26 Feb 2024 02:52:38 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-26 02:38, Ben T. Fender wrote:
...
this is what was missing, systemd commands
~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service
You have to use "enable" to make it permanent.
Now that I'm logged-in on the desktop and remotely on the laptop how do I trasfer thisfile.txt from the laptop to the desktop? Do I issue a command to send from the laptop where I'm remotely logged-in or do I issue some 'get' command in the desktop to get the file out of the laptop?
you use sftp:
sftp sftp://username@hostname.domain
I don't think I wanna make it permanent but I'm up and running, got a few scp transfers done already it's just another freakin syntax paradigm Any way to just open a file-mangler on both and drag files back and forth?
Or "sshfs" to create a virtual filesystem.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI: (man) nfs for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Sun, 25 Feb 2024 21:32:44 -0500 Felix Miata <mrmazda@earthlink.net> :
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
I like the mouse, and GUI, but the main problem that I see is the speed i.e. the LACK of any! Getting about 3 MB/s on a 80gb image file :-(
-- Evolution as taught in public schools is, like religion, based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
Ben T. Fender composed on 2024-02-25 22:15 (UTC-0500):
Sun, 25 Feb 2024 21:32:44 -0500 Felix Miata composed:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
I like the mouse, and GUI,
My point was not about choice of UI, but that I can take a screenshot with Spectacle on one PC, and save it directly onto the filesystem of some other PC on the LAN.
but the main problem that I see is the speed i.e. the LACK of any! Getting about 3 MB/s on a 80gb image file :-(
IME, the only speed limitation ordinarily is in the LAN connectivity hardware path. If a 10/100 or worse is in the transfer path, the switch or other device with 10/100 is the bottleneck, not any LAN or NFS software. Is the switch you're using Gigabit or better? 10/100 can be slow. I just copied a 8,051,032,064 byte .iso to a 10/100 target with EXT3 filesystem on ICH7 SATA HDD with barely that much freespace, from my LAN server, probably a worst case short of copying to USB 2.0. It took 14m16s, leaving: # df /data Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda11 19259865 18058659 228473 99% /data # -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2024-02-26 04:15, Ben T. Fender wrote:
Sun, 25 Feb 2024 21:32:44 -0500 Felix Miata <mrmazda@earthlink.net> :
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
I like the mouse, and GUI, but the main problem that I see is the speed i.e. the LACK of any! Getting about 3 MB/s on a 80gb image file :-( Is your network hardware gigabit, or just "Fast Ethernet" (100Mb/s)?
meaning 100 megabits per second, not megabytes per second. Actual speed about 10 MB/s or 10 mega bytes per second. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Mon, 26 Feb 2024 12:41:42 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-26 04:15, Ben T. Fender wrote:
Sun, 25 Feb 2024 21:32:44 -0500 Felix Miata <mrmazda@earthlink.net> :
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
I like the mouse, and GUI, but the main problem that I see is the speed i.e. the LACK of any! Getting about 3 MB/s on a 80gb image file :-( Is your network hardware gigabit, or just "Fast Ethernet" (100Mb/s)?
it's wifi: 7 hours for an 80gb image, not what I had in mind :-) the cheapest router I could find and a usually usb wifi adapter but on the laptop this was with the built-in onboard whatever only because I haven't physically cut its wires yet
meaning 100 megabits per second, not megabytes per second. Actual speed about 10 MB/s or 10 mega bytes per second.
looks more like a half-breed, something between 5 MB/s and a dead dog, I had initially envisaged moving 2tb image files :-)))) will have to work down my expectations, or as eastwood would say: https://www.youtube.com/watch?v=CG2cux_6Rcw
On 2024-02-26 15:05, Ben T. Fender wrote:
Mon, 26 Feb 2024 12:41:42 +0100 "Carlos E. R." <> :
On 2024-02-26 04:15, Ben T. Fender wrote:
Sun, 25 Feb 2024 21:32:44 -0500 Felix Miata <mrmazda@earthlink.net> :
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
I like the mouse, and GUI, but the main problem that I see is the speed i.e. the LACK of any! Getting about 3 MB/s on a 80gb image file :-( Is your network hardware gigabit, or just "Fast Ethernet" (100Mb/s)?
it's wifi: 7 hours for an 80gb image, not what I had in mind :-)
the cheapest router I could find and a usually usb wifi adapter but on the laptop this was with the built-in onboard whatever only because I haven't physically cut its wires yet
Ok, that speed is normal for WiFi, depending on the age of the card and the router.
meaning 100 megabits per second, not megabytes per second. Actual speed about 10 MB/s or 10 mega bytes per second.
looks more like a half-breed, something between 5 MB/s and a dead dog, I had initially envisaged moving 2tb image files :-)))) will have to work down my expectations, or as eastwood would say:
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2... -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
On 2024-02-27 02:21, Ben T. Fender wrote:
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
ESATA ports went out of fashion maybe a decade ago. An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop. I do not trust sticks. For larger sizes, I use rotating rust. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
* Carlos E. R. <robin.listas@telefonica.net> [02-26-24 21:06]:
On 2024-02-27 02:21, Ben T. Fender wrote:
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
ESATA ports went out of fashion maybe a decade ago.
An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop.
and usb3 must be supported by all concerned boxes or usb2 would be better choice.
I do not trust sticks.
that is *your* paranoia. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2/26/24 22:08, Patrick Shanahan wrote:
An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop. and usb3 must be supported by all concerned boxes or usb2 would be better choice.
I have a 1 TB SSD in a USB 3 external case and it works fine with USB 2 ports.
Tue, 27 Feb 2024 03:03:57 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-27 02:21, Ben T. Fender wrote:
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
ESATA ports went out of fashion maybe a decade ago.
An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop.
I do not trust sticks.
For larger sizes, I use rotating rust.
in a usb3 enclosure? never heard of this (speak of rust) You mean any ssd disk in a usb3 enclosure? What would be the point of placing an already external ssd in a usb3 enclosure? If I can do that with a regular internal ssd then it might fly, I just wouldn't wanna spend beer money on something that can only go back and forth but never inside What does a usb3 enclosure do that a sata/usb adapter doesn't?
On 2/26/24 20:08, Ben T. Fender wrote:
For larger sizes, I use rotating rust. in a usb3 enclosure? never heard of this (speak of rust)
You mean any ssd disk in a usb3 enclosure? What would be the point of placing an already external ssd in a usb3 enclosure? If I can do that with a regular internal ssd then it might fly, I just wouldn't wanna spend beer money on something that can only go back and forth but never inside
What does a usb3 enclosure do that a sata/usb adapter doesn't?
I think I detect a misunderstanding here somewhere. An SSD device is a solid-state version of a spinning-disk drive. Spinners these days, and SSD's too, have SATA interfaces. So what exactly is "an external ssd"? An SSD can be directly installed in a computer chassis, or in an external box containing a SATA-to-USB adapter and possibly a power supply. Or it can run naked with a SATA-to-USB dongle, even without a power supply. (a SATA spinner on a dongle will require an external power supply) So you can indeed plug an internal "naked" SSD into a USB3 external enclosure, and you probably won't even need an external power supply. I hope I got all that straight. By the way, if you're adventurous, you can open your desktop and usually be able to connect your SSD to the motherboard with a SATA connector. You'd need the SATA power connector, but most desktops have extras already wired up. You can get the short SATA data connectors at your local Radio Shack or at Amazon if your desktop doesn't already have included spares. Many do. Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers. Regards, Lew
On 2024-02-27 05:49, Lew Wolfgang wrote:
Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers.
Thumb drives (sticks) fail eventually. That technology has a limited number of writes. How long they will last is an unknown. There is no SMART, there is no wear levelling. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2/27/24 03:30, Carlos E. R. wrote:
On 2024-02-27 05:49, Lew Wolfgang wrote:
Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers.
Thumb drives (sticks) fail eventually. That technology has a limited number of writes. How long they will last is an unknown. There is no SMART, there is no wear levelling.
I understand, but I've been using mine for more than 10-years, running rsync's to it from a daily cron job. It's storing 186GB right now in an XFS filesystem. But you have a point, maybe I should get a new one and retire the old one just in case. I think the old one is even USB2. Regards, Lew
On 2024-02-27 17:34, Lew Wolfgang wrote:
On 2/27/24 03:30, Carlos E. R. wrote:
On 2024-02-27 05:49, Lew Wolfgang wrote:
Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers.
Thumb drives (sticks) fail eventually. That technology has a limited number of writes. How long they will last is an unknown. There is no SMART, there is no wear levelling.
I understand, but I've been using mine for more than 10-years, running rsync's to it from a daily cron job. It's storing 186GB right now in an XFS filesystem.
But you have a point, maybe I should get a new one and retire the old one just in case. I think the old one is even USB2.
Why don't you get an SSD of a similar size? Prices are quite reasonable. They even make them in nvme form factor (maybe they are nvme inside, dunno): https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2... Linked Photo: Photo of Seagate FireCuda Gaming SSD, 500GB, External SSD, USB-C -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2/27/24 10:29, Carlos E. R. wrote:
On 2024-02-27 17:34, Lew Wolfgang wrote:
On 2/27/24 03:30, Carlos E. R. wrote:
On 2024-02-27 05:49, Lew Wolfgang wrote:
Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers.
Thumb drives (sticks) fail eventually. That technology has a limited number of writes. How long they will last is an unknown. There is no SMART, there is no wear levelling.
I understand, but I've been using mine for more than 10-years, running rsync's to it from a daily cron job. It's storing 186GB right now in an XFS filesystem.
But you have a point, maybe I should get a new one and retire the old one just in case. I think the old one is even USB2.
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
I've got nvme, ssd, and multiple spinners inside my desktop. My use-case for this is a small device I can plug into the back of the chassis to back up important stuff should the desktop crash. It's not a full backup, but just enough to get me quickly started on another computer if necessary. I ran into this problem once when I couldn't easily access my ssh private keys. It stays plugged in 24/7 and is out of the way. No muss nor fuss. I can get a 256GB USB 3.2 name-brand thumb drive for less than $20 on Amazon. Indeed, I've got a new'ish 256-GB thumb drive right here in my drawer that I was using to store music files for Pochahontas. I think I'll just use that for backups instead. I've another one for tunes in the car. The existing backup drive is rather old. but it's still working! I just took a look at it and I started using it on Dec 17, 2014. Regards, Lew
On 2024-02-27 20:11, Lew Wolfgang wrote:
On 2/27/24 10:29, Carlos E. R. wrote:
On 2024-02-27 17:34, Lew Wolfgang wrote:
On 2/27/24 03:30, Carlos E. R. wrote:
On 2024-02-27 05:49, Lew Wolfgang wrote:
Also, I have no issue myself with USB thumb drives. Indeed, I've got a 256GB one permanently plugged into the back of my desktop. I use it for daily backups of important things, like my ssh private keys to get into remote servers.
Thumb drives (sticks) fail eventually. That technology has a limited number of writes. How long they will last is an unknown. There is no SMART, there is no wear levelling.
I understand, but I've been using mine for more than 10-years, running rsync's to it from a daily cron job. It's storing 186GB right now in an XFS filesystem.
But you have a point, maybe I should get a new one and retire the old one just in case. I think the old one is even USB2.
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
I've got nvme, ssd, and multiple spinners inside my desktop. My use-case for this is a small device I can plug into the back of the chassis to back up important stuff should the desktop crash. It's not a full backup, but just enough to get me quickly started on another computer if necessary. I ran into this problem once when I couldn't easily access my ssh private keys. It stays plugged in 24/7 and is out of the way. No muss nor fuss.
I can get a 256GB USB 3.2 name-brand thumb drive for less than $20 on Amazon. Indeed, I've got a new'ish 256-GB thumb drive right here in my drawer that I was using to store music files for Pochahontas. I think I'll just use that for backups instead. I've another one for tunes in the car. The existing backup drive is rather old. but it's still working! I just took a look at it and I started using it on Dec 17, 2014.
I just don't trust thumb drives for anything that does frequent writes. And there is no way to know how much is too much. They don't support SMART. They can work for a long time, and then one day they don't. No warning. I'd hate that on a backup. Yes, I had thumb drives die on me. One died early because I did the mistake of using dd on it with a small chunk size. It did live for a year or two more, then died "too soon". Another one died because I had Office open and work on files on it. Then, most thumb drives are very slow write devices. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
* Ben T. Fender <slowroller@trixtar.org> [02-27-24 16:08]:
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
no -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
On 2024-02-27 22:06, Ben T. Fender wrote:
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
I'm not sure. I don't see the advantage of using nvme instead of plain ssd when the interface is going to be USB. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Tue, 27 Feb 2024 22:41:04 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-27 22:06, Ben T. Fender wrote:
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
I'm not sure.
I don't see the advantage of using nvme instead of plain ssd when the interface is going to be USB.
The usb connection is the bottleneck, so I'm looking for mobos with multiple extermal M2 slots :-)
Tue, 27 Feb 2024 17:29:16 -0500 "Ben T. Fender" <slowroller@trixtar.org> :
Tue, 27 Feb 2024 22:41:04 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-27 22:06, Ben T. Fender wrote:
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
I'm not sure.
I don't see the advantage of using nvme instead of plain ssd when the interface is going to be USB.
The usb connection is the bottleneck, so I'm looking for mobos with multiple extermal M2 slots :-)
If I consider an ePcie card to be *more or less* removable then with 2 slots and this I get 4 removable M2 drives https://www.glotrends-store.com/products/pa21 think I'm gonna order 1 for my death-star
Ben T. Fender composed on 2024-02-27 17:38 (UTC-0500):
The usb connection is the bottleneck, so I'm looking for mobos with multiple extermal M2 slots :-)
If I consider an ePcie card to be *more or less* removable then with 2 slots and this I get 4 removable M2 drives
think I'm gonna order 1 for my death-star
I have two cards similar to that, but only X4. They do work, but I only use them for extreme backups or cloning. Probably most if not all mATX motherboards have no X8 slots, so to use an X8 in one of them you'd have to "waste" an only X16 slot. Full ATX boards are much more likely to have an actual X8, but often if there is a graphics card in an X16, there is no place for a second simultaneous X8. IOW, with only two X8 possible from a motherboard and both populated by those X8 NVME cards, graphics would need to be handled by either onboard graphics, or an X4 or X1 graphics card (if such things actually exist), DisplayLink (aka via USB), or if very lucky(?), a PCI graphics card. If you really need another 4 NVMEs, you might should be looking at a PCIe splitter, perhaps something like: <https://www.amfeltec.com/flexible-x4-pci-express-4way-splitter/> -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2024-02-27 23:29, Ben T. Fender wrote:
Tue, 27 Feb 2024 22:41:04 +0100 "Carlos E. R." <...> :
On 2024-02-27 22:06, Ben T. Fender wrote:
Tue, 27 Feb 2024 19:29:35 +0100 "Carlos E. R." <...> :
Why don't you get an SSD of a similar size? Prices are quite reasonable.
They even make them in nvme form factor (maybe they are nvme inside, dunno):
https://www.amazon.co.uk/Seagate-Firecuda-Gaming-External-Solid/dp/B0839T2V2...
does it make any difference if they're nvme inside if the interface is usb?
I'm not sure.
I don't see the advantage of using nvme instead of plain ssd when the interface is going to be USB.
The usb connection is the bottleneck, so I'm looking for mobos with multiple extermal M2 slots :-)
I have the suspicion that "external M2 slot" is not a thing. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Mon, 26 Feb 2024 20:49:06 -0800 Lew Wolfgang <wolfgang@sweet-haven.com> :
On 2/26/24 20:08, Ben T. Fender wrote:
For larger sizes, I use rotating rust. in a usb3 enclosure? never heard of this (speak of rust)
You mean any ssd disk in a usb3 enclosure? What would be the point of placing an already external ssd in a usb3 enclosure? If I can do that with a regular internal ssd then it might fly, I just wouldn't wanna spend beer money on something that can only go back and forth but never inside
What does a usb3 enclosure do that a sata/usb adapter doesn't?
I think I detect a misunderstanding here somewhere. An SSD device is a solid-state version of a spinning-disk drive. Spinners these days, and SSD's too, have SATA interfaces. So what exactly is "an external ssd"? An SSD can be directly installed in a computer chassis, or in an external box containing a SATA-to-USB adapter and possibly a power supply. Or it can run naked with a SATA-to-USB dongle, even without a power supply. (a SATA spinner on a dongle will require an external power supply)
There are external (mobile) ssd's and spinners with a fixed usb cable, these do not have a visible sata interface and cannot be connected inside the computer or mobile tray. I try to avoid them because they are single-purpose devices. I have no issues with single-purpose devices as such, actually prefer toilet paper to newspapers, but inthis case it seems like wasted money.
So you can indeed plug an internal "naked" SSD into a USB3 external enclosure, and you probably won't even need an external power supply. I hope I got all that straight.
Yes, but I had an old (I think usb2) sata/usb adapter that was the source of tons of trouble; going into the bin now, a usb3 version just ordered has already shipped.
By the way, if you're adventurous, you can open your desktop and usually be able to connect your SSD to the motherboard with a SATA connector. You'd need the SATA power connector, but most desktops have extras already wired up. You can get the short SATA data connectors at your local Radio Shack or at Amazon if your desktop doesn't already have included spares. Many do.
No need, my desktop has an external sata port which would be more useful on my laptop seeing that my desktop has two mobile racks, one for 4 ssd's and one for 5 3.5 spinners.
On 2024-02-27 05:08, Ben T. Fender wrote:
Tue, 27 Feb 2024 03:03:57 +0100 "Carlos E. R." <...> :
On 2024-02-27 02:21, Ben T. Fender wrote:
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <...> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
ESATA ports went out of fashion maybe a decade ago.
An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop.
I do not trust sticks.
For larger sizes, I use rotating rust.
in a usb3 enclosure? never heard of this (speak of rust)
You mean any ssd disk in a usb3 enclosure? What would be the point of placing an already external ssd in a usb3 enclosure? If I can do that with a regular internal ssd then it might fly, I just wouldn't wanna spend beer money on something that can only go back and forth but never inside
You can buy an SSD disk or a rotating rust disk (aka plain magnetic disk, aka traditional hard disk). Both SSD or magnetic disks are identical in appearance. Both have a SATA port and a DC power port. None have USB ports. Both are intended to be put "inside". Both can be put in an enclosure. <https://www.amazon.co.uk/Seagate-2-5-Inch-BarraCuda-Internal-Drive/dp/B01LYNQXCP/> <https://www.amazon.co.uk/Kingston-A400-Solid-State-Drive/dp/B01N0TQPQB> Or you can buy a hard disk inside an USB enclosure, ready made: <https://www.amazon.co.uk/dp/B01127E6P4> <https://www.amazon.co.uk/Portable-External-500GB-USB-Aluminum-Chromebook/dp/B07BCP3PYL/>
What does a usb3 enclosure do that a sata/usb adapter doesn't?
More reliable. Portability (in a trip). -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Tue, 27 Feb 2024 12:26:53 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-27 05:08, Ben T. Fender wrote:
Tue, 27 Feb 2024 03:03:57 +0100 "Carlos E. R." <...> :
On 2024-02-27 02:21, Ben T. Fender wrote:
Mon, 26 Feb 2024 15:14:52 +0100 "Carlos E. R." <...> :
Or use an external disk for doing exchanges. Mind, rotating rust speed can be in that range for some disks. 5400 rpm, connected via slow usb2...
I never suspected that this would get me into trouble but it did with a usb/sata adapter not working with disks that were not prepared using it so that a disk prepared in my desktop mobile tray cannot be plugged into the usb port of the laptop with a usb/sata adapter. I wonder why computers don't all have at least one external sata port? I do have a 128gb usb stick but may have to buy a large usb external drive.
ESATA ports went out of fashion maybe a decade ago.
An external SSD disk in an USB3 enclosure could be just the thing. Just half a terabyte or one terabyte have an appropriate price. I use one to transfer files between two computers at different locations, and to keep files when travelling with my laptop.
I do not trust sticks.
For larger sizes, I use rotating rust.
in a usb3 enclosure? never heard of this (speak of rust)
You mean any ssd disk in a usb3 enclosure? What would be the point of placing an already external ssd in a usb3 enclosure? If I can do that with a regular internal ssd then it might fly, I just wouldn't wanna spend beer money on something that can only go back and forth but never inside
You can buy an SSD disk or a rotating rust disk (aka plain magnetic disk, aka traditional hard disk). Both SSD or magnetic disks are identical in appearance. Both have a SATA port and a DC power port. None have USB ports. Both are intended to be put "inside". Both can be put in an enclosure.
Yes, thank you, I'm aware of this, been doing it for ages
Or you can buy a hard disk inside an USB enclosure, ready made:
This too, and this is what I do not want, just ordered a usb3 enclosure good for 2.5 as well as 3.5 :-)
On 2/26/24 06:05, Ben T. Fender wrote:
meaning 100 megabits per second, not megabytes per second. Actual speed about 10 MB/s or 10 mega bytes per second. looks more like a half-breed, something between 5 MB/s and a dead dog, I had initially envisaged moving 2tb image files :-)))) will have to work down my expectations, or as eastwood would say:
Lot's of things can affect your transfer bandwidths. I just tried a quick test sending a 4-GB file between two recent SuperMicro servers over a 40GbE Ethernet connection. It's a copper connection directly between the two servers, no switches or routers in the way. So I got 467.2MB/s for a 4GB binary file sent using scp. If you do the math that would be about 45-minutes to transfer 1TB. But realize that scp encrypts the data going over the link. Last year I tried some bandwidth tests and managed to speed the transfers up by a factor of 2.5 or so with encryption turned off. One doesn't need it when sending data between computers in the same equipment rack! Unfortunately it isn't easy to turn off scp encryption, you need to install rcp and munge. I had it working under Leap 42, but not under any of the 15.x releases. I didn't try to hard though. Regards, Lew
Mon, 26 Feb 2024 21:17:16 -0800 Lew Wolfgang <wolfgang@sweet-haven.com> :
On 2/26/24 06:05, Ben T. Fender wrote:
meaning 100 megabits per second, not megabytes per second. Actual speed about 10 MB/s or 10 mega bytes per second. looks more like a half-breed, something between 5 MB/s and a dead dog, I had initially envisaged moving 2tb image files :-)))) will have to work down my expectations, or as eastwood would say:
Lot's of things can affect your transfer bandwidths. I just tried a quick test sending a 4-GB file between two recent SuperMicro servers over a 40GbE Ethernet connection. It's a copper connection directly between the two servers, no switches or routers in the way.
So I got 467.2MB/s for a 4GB binary file sent using scp. If you do the math that would be about 45-minutes to transfer 1TB.
THAT's one I haven't tried, sound great!
On 2/26/24 21:17, Lew Wolfgang wrote:
But realize that scp encrypts the data going over the link. Last year I tried some bandwidth tests and managed to speed the transfers up by a factor of 2.5 or so with encryption turned off. One doesn't need it when sending data between computers in the same equipment rack! Unfortunately it isn't easy to turn off scp encryption, you need to install rcp and munge. I had it working under Leap 42, but not under any of the 15.x releases. I didn't try to hard though.
Correction: I didn't turn off transit encryption in scp, I did it for rsync. Rsync allows one to specify a different "shell" than ssh, you can specify rsh. But Leap repos don't offer plain rsh anymore, there's a mrsh instead. This version using munge for secure authentication, leaving the data transfers unenrypted. It's a shame that ssh/scp don't allow the encryption to be turned off. Transit compression can be turned off. Not all connection scenarios benefit from encryption. One could try to get mrsh/munge working, but I failed the last time I tried. I may look into it again. Regards, Lew
On 2024-02-26 03:32, Felix Miata wrote:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
No, you can do it as well with ssh. With sshfs, actually. Also with 'mc' but doesn't work fully right. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Carlos E. R. composed on 2024-02-26 11:55 (UTC+0100):
Felix Miata wrote:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
No, you can do it as well with ssh. With sshfs, actually.
"No" what?
Also with 'mc' but doesn't work fully right.
What doesn't work fully right with mc? With nfs, the LAN becomes, in effect, one native filesystem. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2024-02-26 14:16, Felix Miata wrote:
Carlos E. R. composed on 2024-02-26 11:55 (UTC+0100):
Felix Miata wrote:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
No, you can do it as well with ssh. With sshfs, actually.
"No" what?
That you do not "need" nfs :-)
Also with 'mc' but doesn't work fully right.
What doesn't work fully right with mc? With nfs, the LAN becomes, in effect, one native filesystem.
No. There was a bug, years ago, and the "ssh" connection is gone. There is FTP, SFTP, and SMB. SSH (probably called fish elsewhere), is gone. And SFTP, in my experience, has problems each time I try it. I would have to boot an old virtual install of openSUSE to find an old screenshot of 'mc' of ten years ago to see the differences. And no, nfs is not the solution for every case. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Carlos E. R. composed on 2024-02-26 14:29 (UTC+0100):
Felix Miata wrote:
Carlos E. R. composed on 2024-02-26 11:55 (UTC+0100):
Felix Miata wrote:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
No, you can do it as well with ssh. With sshfs, actually.
"No" what?
That you do not "need" nfs :-)
What did I write that gave you an impression of an association between "need" and "nfs"? I simply use nfs for all accesses and transfers among different hosts on my LAN.
Also with 'mc' but doesn't work fully right.
What doesn't work fully right with mc? With nfs, the LAN becomes, in effect, one native filesystem.
No.
What do you mean "no"? Nfs mounts go into a filesystem tree just like DVDs, USB sticks, NAS devices, RAID devices, etc.
There was a bug, years ago, and the "ssh" connection is gone. There is FTP, SFTP, and SMB. SSH (probably called fish elsewhere), is gone. And SFTP, in my experience, has problems each time I try it.
I would have to boot an old virtual install of openSUSE to find an old screenshot of 'mc' of ten years ago to see the differences.
Can you recall whether it was in an nfs or ssh context? There are no old virtual installs here, but there are real installs going as far back as SUSE 8.x, assuming those 20-25 years old PCs still boot. It's been I while since I tried booting any AT form factor K6/2.
And no, nfs is not the solution for every case.
It's a native one designed for the tasks of transferring and accessing files among hosts on a LAN. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2024-02-26 15:15, Felix Miata wrote:
Carlos E. R. composed on 2024-02-26 14:29 (UTC+0100):
Felix Miata wrote:
Carlos E. R. composed on 2024-02-26 11:55 (UTC+0100):
Felix Miata wrote:
Ben T. Fender composed on 2024-02-25 21:12 (UTC-0500):
Any way to just open a file-mangler on both and drag files back and forth?
It's the only way I do it, mostly (sans mouse) using mc and fcl, which work with or without working GUI:
(man) nfs
for exporting native Linux filesystems (through /etc/exports), which can be mounted just like any other native mounting is done, using fstab entries or other methods for routine ones, and 'mount -t nfs' for the non-routine.
No, you can do it as well with ssh. With sshfs, actually.
"No" what?
That you do not "need" nfs :-)
What did I write that gave you an impression of an association between "need" and "nfs"? I simply use nfs for all accesses and transfers among different hosts on my LAN.
I said "need" instead of need. There is a little difference ;-)
Also with 'mc' but doesn't work fully right.
What doesn't work fully right with mc? With nfs, the LAN becomes, in effect, one native filesystem.
No.
What do you mean "no"? Nfs mounts go into a filesystem tree just like DVDs, USB sticks, NAS devices, RAID devices, etc.
I'm not even considering nfs. We are talking ssh.
There was a bug, years ago, and the "ssh" connection is gone. There is FTP, SFTP, and SMB. SSH (probably called fish elsewhere), is gone. And SFTP, in my experience, has problems each time I try it.
I would have to boot an old virtual install of openSUSE to find an old screenshot of 'mc' of ten years ago to see the differences.
Can you recall whether it was in an nfs or ssh context? There are no old virtual installs here, but there are real installs going as far back as SUSE 8.x, assuming those 20-25 years old PCs still boot. It's been I while since I tried booting any AT form factor K6/2.
Only talking of ssh.
And no, nfs is not the solution for every case.
It's a native one designed for the tasks of transferring and accessing files among hosts on a LAN.
Certainly, I use it. I'm very familiar with it. But it is slower to set it up (more difficult), it needs configuration changes on both sides, and fiddle with the firewalls if they are up. And, is not appropriate for use on internet. Whereas ssh comes installed by default, normally, you have to do nothing. And it is not by default, a simple tick on day zero and it is installed and ready to use. There are more problems, like not supporting translation of users between server and client. Transport not encrypted. No auth involved. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2024-02-26 03:12, Ben T. Fender wrote:
Mon, 26 Feb 2024 02:52:38 +0100 "Carlos E. R." <> :
On 2024-02-26 02:38, Ben T. Fender wrote:
...
this is what was missing, systemd commands
~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service
You have to use "enable" to make it permanent.
Having the ssh sever permanently active (ie, ready to accept a connection) is the normal thing to do in the Linux world. You probably said "no" when you installed the system.
Now that I'm logged-in on the desktop and remotely on the laptop how do I trasfer thisfile.txt from the laptop to the desktop? Do I issue a command to send from the laptop where I'm remotely logged-in or do I issue some 'get' command in the desktop to get the file out of the laptop?
you use sftp:
sftp sftp://username@hostname.domain
I don't think I wanna make it permanent but I'm up and running, got a few scp transfers done already it's just another freakin syntax paradigm
The client is not permanent.
Any way to just open a file-mangler on both and drag files back and forth?
On the client side you do: Create an empty directory, for example "~/fusermount/" on the client side. Then run: sshfs username@hostname.domain/ ~/fusermount/ this connects and makes vissible the "/" path into ~/fusermount/, with the permissions for "username". You can browse there with any filebrowser you like. When done, you close the connection: fusermount -u ~/fusermount You can use this method to run any local command using the remote filesystem, as long as you can tell it to use the changed path. You can also manage to run remote programs using locally, but they can be confused with the path. Some file browsers can connect on their own to remote computers using ssh. For instance, "krusader" (tools/ new net connection). It can be sftp or fish. Midnight commander has sftp. Dolphin: go to network folders, then "add network folder". One method is ssh. Did not work for me, though. nautilus has the feature a bit hidden (under "other locations"), but it works. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Mon, 26 Feb 2024 12:36:56 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-26 03:12, Ben T. Fender wrote:
Mon, 26 Feb 2024 02:52:38 +0100 "Carlos E. R." <> :
On 2024-02-26 02:38, Ben T. Fender wrote:
...
this is what was missing, systemd commands
~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service
You have to use "enable" to make it permanent.
Having the ssh sever permanently active (ie, ready to accept a connection) is the normal thing to do in the Linux world. You probably said "no" when you installed the system.
When I need somethoing on another drive I mount it manually, then following I immediately umount it. Same with most other chores. This ssh thingie started saving IP's, I'll have to getrid of that bad habbit too, especially with a router that gives them dynamically which is the correct way (for me).
Now that I'm logged-in on the desktop and remotely on the laptop how do I trasfer thisfile.txt from the laptop to the desktop? Do I issue a command to send from the laptop where I'm remotely logged-in or do I issue some 'get' command in the desktop to get the file out of the laptop?
you use sftp:
sftp sftp://username@hostname.domain
I don't think I wanna make it permanent but I'm up and running, got a few scp transfers done already it's just another freakin syntax paradigm
The client is not permanent.
Any way to just open a file-mangler on both and drag files back and forth?
On the client side you do:
Create an empty directory, for example "~/fusermount/" on the client side. Then run:
sshfs username@hostname.domain/ ~/fusermount/
this connects and makes vissible the "/" path into ~/fusermount/, with the permissions for "username". You can browse there with any filebrowser you like.
When done, you close the connection:
fusermount -u ~/fusermount
Excellent, I'll have to ring this out
You can use this method to run any local command using the remote filesystem, as long as you can tell it to use the changed path. You can also manage to run remote programs using locally, but they can be confused with the path.
Some file browsers can connect on their own to remote computers using ssh. For instance, "krusader" (tools/ new net connection). It can be sftp or fish. Midnight commander has sftp.
Dolphin: go to network folders, then "add network folder". One method is ssh. Did not work for me, though.
nautilus has the feature a bit hidden (under "other locations"), but it works.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2024-02-26 14:55, Ben T. Fender wrote:
Mon, 26 Feb 2024 12:36:56 +0100 "Carlos E. R." <robin.listas@telefonica.net> :
On 2024-02-26 03:12, Ben T. Fender wrote:
Mon, 26 Feb 2024 02:52:38 +0100 "Carlos E. R." <> :
On 2024-02-26 02:38, Ben T. Fender wrote:
...
this is what was missing, systemd commands
~ # systemctl status sshd.service ○ sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; preset: disabled) Active: inactive (dead) ~ # systemctl start sshd.service
You have to use "enable" to make it permanent.
Having the ssh sever permanently active (ie, ready to accept a connection) is the normal thing to do in the Linux world. You probably said "no" when you installed the system.
When I need somethoing on another drive I mount it manually, then following I immediately umount it. Same with most other chores. This ssh thingie started saving IP's, I'll have to getrid of that bad habbit too, especially with a router that gives them dynamically which is the correct way (for me).
You probably can configure your router to always give the same IP to the same computer. This is usually done by associating the MAC address to an IP, using the router management web page. You can find the MAC address in Linux with the command "ip link". Find the paragraph for the network interface you use (say eth0, wlan0, etc), and there the entry for "link/ether". On Linux machines, it is typical to have the sshd daemon running always, on every boot. This facilitates connecting from another computer when there is trouble, or just for anything. Not having it running is rare, IMO, but some people have their reasons. ... -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2/25/24 17:03, Ben T. Fender wrote:
I'm trying to get my feet wet for file transfers between home computers on my router, windows and mac later, for now only tw and slowroll.
from desktop: ~ ping laptop-IP good ping
from both ~ ssh localhost ssh: connect to host localhost port 22: Connection refused
on laptop: # firewall-cmd --add-port=22/tcp success
from desktop: ~ ssh laptop-IP ssh: connect to host laptop-IP port 22: Connection refused
I guess there's no pint in IP's while even localhost is refusing
BTW, if w=and when I get going what kind of trasfer speeds can I expect?
TIA
You sure you got your sshd service running on your laptop and have configured your sshd.config file so that your service is listening on port 22? Marc... -- "The Truth is out there" - Spooky _ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (This email is digitally signed and the OpenPGP electronic signature is added as an attachment. If you know how, you can use my public key to prove this email indeed came from me and has not been modified in transit. My public key, which can be used for sending encrypted email to me also, can be found at - https://keys.openpgp.org/search?q=marc@marcchamberlin.com or just ask me for it and I will send it to you as an attachment. If you don't understand all this geek speak, no worries, just ignore this explanation and ignore the OpenPGP signature key attached to this email (it will look like gibberish if you open it) and/or ask me to explain it further if you like.)
participants (7)
-
Ben T. Fender
-
Carlos E. R.
-
Felix Miata
-
James Knott
-
Lew Wolfgang
-
Marc Chamberlin
-
Patrick Shanahan