Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-25-2014, 03:45 AM
|
#1
|
Member
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54
Rep:
|
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
|
|
|
02-25-2014, 06:24 AM
|
#2
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,537
|
Quote:
Originally Posted by charlemagne-is-my-son
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?
|
|
|
02-25-2014, 08:04 AM
|
#3
|
Member
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
02-25-2014, 08:30 AM
|
#4
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
What are you trying to accomplish? Explain as best you can.
|
|
|
02-25-2014, 08:41 AM
|
#5
|
Member
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54
Original Poster
Rep:
|
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
|
|
|
02-25-2014, 09:10 AM
|
#6
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
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/
|
|
|
02-25-2014, 09:52 AM
|
#7
|
Member
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54
Original Poster
Rep:
|
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?
|
|
|
02-25-2014, 09:56 AM
|
#8
|
Member
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
02-25-2014, 10:00 PM
|
#9
|
Member
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|