LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2014, 02:45 AM   #1
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Rep: Reputation: Disabled
openSSH - total newb who can't even read the tutorials....


So I've been trying to use these tutorials for help: http://inside.mines.edu/~gmurray/HowTo/sshNotes.html
and
http://support.suso.com/supki/SSH_Tutorial_for_Linux

But I can't read them. They assume more than I know.

I want to use this to access sites like youtube and facebook. I don't know what I'm doing.

The first tutorial says,

"Check that ssh functions at all: SSH can replace telnet even without keys. Suppose you are connecting to the remote computer remote.edu. as user "dude". Run

$ ssh dude@remote.edu
and ssh will ask if you want to keep connecting, type "yes", and then it should ask for your password and open a shell in dude's home directory on remote.edu, just like telnet. If this fails, there is a problem somewhere. Make sure ssh is installed on your end, and also make sure that remote.edu is accepting ssh connections. If it's not, you're wasting your time.
Once ssh is functioning we will set up the keys so that it will no longer be necessary to send passwords. If you are curious about the theory of this then read up on "public key cryptography"."

So what variable should I use in place of "Dude?" and what is the actual value for @....? And where would I find this info? I'm a total beginner.

Thanks
 
Old 02-25-2014, 05:24 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by charlemagne-is-my-son View Post
I want to use this to access sites like youtube and facebook. I don't know what I'm doing.
You will not be able to access youtube or facebook directly by SSH, are you getting confused with HTTPS:// which is the secure web browsing protocol?
 
Old 02-25-2014, 07:04 AM   #3
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Original Poster
Rep: Reputation: Disabled
I wouldn't know

I guess so. Basically, I tried freevpnhosting.com, and it wouldnt' work. The cause was my router - apparently my router was too old or something. So i'm looking for other possibilities. I can't change the router. Astrill will not work. Strongvpn.com is behind a firewall.

So what can i do? I'm lost.
 
Old 02-25-2014, 07:30 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
What are you trying to accomplish? Explain as best you can.
 
Old 02-25-2014, 07:41 AM   #5
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Original Poster
Rep: Reputation: Disabled
Goals

I need a vpn. I don't know what to do. Freevpnhosting's vpn will not work, and astrill has a problem with my isp.

I want to use websites that are behind a firewall I deal with - facebook, youtube, twitter
 
Old 02-25-2014, 08:10 AM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
The Tor bundle is a good bet for anonymization. Read the docs and see if that is something you are interested in.

https://www.torproject.org/
 
Old 02-25-2014, 08:52 AM   #7
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tor problem

Ok, so I'm trying to install Tor as per the last suggestion, but I ran into a problem. I was following the directions on this page: https://www.torproject.org/docs/debian.html.en#ubuntu and when I ran the command sudo apt-get update, I got this:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cn.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

E: Unable to parse package file /var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Index (1)

What can I do now?
 
Old 02-25-2014, 08:56 AM   #8
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tried it again

I tried running the update command again, and it shot this out:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cn.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: http://deb.torproject.org precise Release: The following signatures were invalid: BADSIG 74A941BA219EC810 deb.torproject.org archive signing key
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/...kports/Release

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch http://deb.torproject.org/torproject...amd64/Packages Connection failed [IP: 38.229.72.16 80]

W: Failed to fetch http://deb.torproject.org/torproject...nslation-en_US Connection failed [IP: 86.59.30.40 80]

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages Hash Sum mismatch

W: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 02-25-2014, 09:00 PM   #9
Ryanms3030
Member
 
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261

Rep: Reputation: Disabled
I'm pretty newb myself but I think he's trying to use ssh to tunnel around network restrictions like a socks proxies.
But the tor method might be easier
 
  


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
Total Newb nksmfamjp LinuxQuestions.org Member Intro 4 02-21-2009 05:36 PM
ok ... i'm a total newb kreplech Linux - Newbie 4 05-27-2006 11:29 AM
Total NewB please Help? whitewizzard64 Linux - Networking 2 05-13-2005 09:53 AM
Total newb. please help me Impactor Linux - Newbie 24 03-05-2004 06:54 AM
Total Newb wdowning Linux - Newbie 5 10-05-2002 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:35 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