LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2020, 11:52 PM   #31
bennylavalol
LQ Newbie
 
Registered: Oct 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by obobskivich View Post

Code:
 sftp://[yourusernameonhtpcgoeshere]@192.168.104
From there, it should ask for your password (associated with your username on htpc)
I think I follow you for the most part... You're saying to enter that code with my username on the htpc, into the terminal on my Linux-Rig (office computer). Correct?

Only thing is, I thought that the username was simply "htpc". I don't remember being asked to create any real username except for that. I guess I'm too big of a linux newbie here, but it must have asked me at some point. However, it says that the user name is "HTPC" in all caps. You can see it just by clicking the "start menu" or launch menu in the bottom left hand of the taskbar. Just like when I click it here on my Linux-Rig, it shows the username to be "Justin".

All that said, when I enter your code into the terminal on my office computer, it returns:

"bash: sftp://HTPC@192.168.104: No such file or directory"

It's the same if I get rid of the caps, and just use "htpc" instead of "HTPC"
 
Old 10-25-2020, 12:30 AM   #32
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,295
Blog Entries: 3

Rep: Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719
Quote:
Originally Posted by bennylavalol View Post
All that said, when I enter your code into the terminal on my office computer, ...
If 192.168.1.104 is the IPv4 address of your remote HTPC system and htpc is the username there, then open the file manager on your desktop system (probably Dolphin if I am following along correctly), press ctrl-L, and then enter the following into file manager's (Dolphin's) location bar:

Code:
sftp://htpc@192.168.1.104/home/htpc/
Otherwise substitute in the correct host name or IP address for the other computer. That would be the one you connect to, not the one you connect from.

The references there must be for the remote system not the local system. So the first part is the protocol (sftp) to connect to the remote system. The second part (htpc@) will be the user name on the remote system. The third part (192.168.1.104) must be the network address of the remote system. The fourth and final part is the path to the directory you wish to start in on the remote system if it connects.
 
1 members found this post helpful.
Old 10-25-2020, 10:12 PM   #33
bennylavalol
LQ Newbie
 
Registered: Oct 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
When I enter that address, I get the red bar below the address bar in dolphin, and it says "Connection refused".

I've been at this for more than 8 hours now lol, I think I may need to hire a linux guy from craigslist to come to my house. At least I'll learn exactly what the issue was and how to fix it. Nothing like having an in-person teacher.
 
Old 10-26-2020, 06:45 AM   #34
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
I had a problem once with SFTP. Then, after a change of the distro, the certificates of the machines didn't fit anymore and I had to delete them. Now, I'm absolutely no expert here. Perhaps one of the gurus here could consider whether this might be a cause here and perhaps offer a solution to the OP.
 
Old 10-26-2020, 07:33 AM   #35
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,295
Blog Entries: 3

Rep: Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719
Quote:
Originally Posted by JZL240I-U View Post
I had a problem once with SFTP. Then, after a change of the distro, the certificates of the machines didn't fit anymore and I had to delete them. Now, I'm absolutely no expert here. Perhaps one of the gurus here could consider whether this might be a cause here and perhaps offer a solution to the OP.
Certificates or keys? Either way, if the host keys or host certificates were not valid any more then there would be a pronounced error message to that effect. So it is most unlikely the problem here. If it is, it would be encountered after establishing connction first but that has not happened yet.

It might be that OpenSSH-server has not been turned on at the remote host yet.
 
Old 10-27-2020, 11:15 AM   #36
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Let's back up a bit: can you ping the HTPC at the address we're thinking it's at from whatever machine you're trying to connect with? Are you running a firewall on one/both of the machines involved here?
 
  


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
Flash and quicktime movies don't work; mgp and wmv movies work fine - what to do? thorgamma Linux - Newbie 6 01-12-2011 11:25 AM
Movies to avoid ! Nonsensical, terrible, mad, worthless movies. H_TeXMeX_H General 44 01-22-2010 09:58 AM
What is the best partitioning scheme for a multi-disks HTPC or HDMI configuration? cippalippa Linux - Hardware 6 10-22-2009 06:59 AM
Whats the best HTPC solution? r00tb33r Linux - Software 2 04-15-2008 02:29 AM
Best Linux HTPC system usernameddr Linux - General 2 04-26-2005 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 PM.

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