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.
Hi, is me again. I had downloaded OpenSSH and installed successfully and had tried to remotely login to my fren PC using cable (Point to Point connection). Now, if i want to connect it via a router, how can i make it? Can i get any connection information from the command ip addr?
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
It doesn't matter if it's a direct cable between 2 computers, through a router or on the other side of the world over the Internet. if you have the IP address or a resolvable hostname you can connect with ssh as long as there isn't a firewall in between blocking the port.
Ok, in order to make this work, you need to setup NAT (Network Address Translation) for port 22 in your router to point to port 22 on the machine running OpenSSH. Then when you ssh to your 'router' it will 'translate' port 22 on the router to port 22 on your OpenSSH machine.
Hope that makes sense! It's relatively easy to do if you have a relatively new router with a web interface. Mostly the address for your router will be something like:
basically if i wanna connect to another PC....i will
root... # ssh firstname.lastname@example.org something like that, rite?
do i need to set the eth0 or eth1? or basically it already assigned the IP over the router which i can connect to? Thnaks
that's correct, if and only if, both machines are running on the same router. from your first post, I'm presuming that your friends machine is in a different location, i.e., network to yours. If that is the case, you will need to setup NAT as I explained in the last post.