Monday, April 29, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 498  / 3 Years ago, sat, july 31, 2021, 8:44:05

I wondered if i could share folders between two ubuntu machines, even if one of them doesn't have Internet connection.



In fact, i searched all day long for a way to do that, but all i found is that i should install SAMBA or openssh, but i actually can't cause as i said, i don't have Internet on one of the two PCs.



First i tried to find a way to share the Internet connection, but i was told that it wasn't possible while i didn't have two network cards in the PC that was connected to the Internet.



I would be grateful if someone could give me an answer.


More From » shared-folders

 Answers
5

I'd suggest installing openssh-server on the machine with the internet connection, then using the command scp remote-user@remote-host:/path/to/file ~/place/to/store to copy a file from remote to local on the internet-less machine, as ssh client is pre-installed by default (if I remember correctly).



Alternatively, with openssh-server installed, on the desktop of the internet-less machine go to file->connect to server and change the type to ssh. Then enter a username, password & host to connect to the remote machine and mount the filesystem locally.



There's also this relevant xkcd.


[#37455] Sunday, August 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
thellfi

Total Points: 222
Total Questions: 103
Total Answers: 123

Location: Palau
Member since Mon, Aug 16, 2021
3 Years ago
thellfi questions
;