Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
On my own I've managed to set up SSH on my home router and login from a remote location, and from there SSH into my personal computer, but now what I can't figure out is how to transfer files from my home PC to the remote location and vice versa via scp. Is there a way to specify a PC behind my router? ie. email@example.comfirstname.lastname@example.org? (I know that syntax wouldn't be correct) It seems like this would be fairly simple, but I'm not sure what to look for next. Is this what port forwarding is for?
Right, I've gotten that far, but the problem is that in order to get to my PC I have to go through my router. So there's really three IPs involved here. So basically, from a remote location, what is the path to my PC (which is behind my router)?
Well, I've set up my router to forward port 22 to my IP (or so it seems), but when I ssh into my external IP I still ssh into my router... Shouldn't my router be passing the ssh request straight to my computer instead of handling it itself? (see attachment)
(I've set SSH to use port 2020 on my machine, in case you're wondering.)
Aha! I found out what was wrong. I correctly configured port forwarding; HOWEVER, I had SSH Management enabled. I disabled this (Administration > Management > SSH Management) and all seems to be working fine now.