LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-22-2003, 04:14 AM   #1
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Rep: Reputation: 15
remote acces


I am new user to linux, i have redhat 9. I want to have remote access to my linux box. I read some similar questions on the forums but i do not understand what to do. My question is what is the easiest way to remotely access my machine? And how do I do it?
 
Old 07-22-2003, 04:26 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Welcome to LQ

http://www.uk.research.att.com/vnc/
for a gui.
For terminal access:
www.openssh.org

You are likely to already have ssh installed and running...

Check the site documentation for each of the apps for more info

Cool
 
Old 07-22-2003, 04:41 AM   #3
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
I want to use SSH but i have no clue on how to use it. I tried to connect to ssh but when asked for my password i got an error. I was on the same computer i wanted to connect to., is this why i got an error? Do you know what i am doing wrong? THANK YOU for you help!
 
Old 07-22-2003, 06:48 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Sorry for the amazing delay in response, work is a little busy tonight for some odd reason...

Ok, so where were we, ah yes, SSH

SSH is done across a network not on the same system you are trying to connect to, well not normally. I am not sure if ssh'ing to the box you are on is a working function, mainly because you are already secure because there is NO network between you and the box.

When you SSH from a shell to a shell (from one linux box to another) you should try to use the following syntax/format:
ssh -l username box-ip
SO for a box with an ip of 1.2.3.4 that needs to be connected to:
ssh -l username 1.2.3.4
Where username is the username you want to login as.

If you are going to be ssh'ing from a windoze drive, open up a browser pointed at www.google.com and type it "putty" and click "I'm feeling lucky" Hopefully you'll be on the Putty page which is a windoze SSH client. The only file you need is the single putty.exe file (I prefer the development version it's better).

Then, open up the file, and enter the hostname of the computer you are trying to connect to. Again, if there is not hostname you can do this via IP, but you will need to know the IP of the machine you are trying to connect to (you can get that from the machine by typing:
ifconfig
And it will show you the IP in one of the lines there. You will usually need to be root when typing that, and possibly with full path:
/sbin/ifconfig )

After you get the IP, go to the machine you'll be using SSH from (not the server, but the client) and try again, using the IP you just got.

If SSH is not running on the server (the machine you want to ssh into) then you'll need to either install it, or simply start it. You should consult some documentation from your distro on doing that since there are too many variables to address them all.

HTH

Cool
 
Old 07-22-2003, 02:19 PM   #5
newbe45
Member
 
Registered: Jul 2003
Distribution: fedora, gentoo
Posts: 128

Original Poster
Rep: Reputation: 15
Thank you, that is what i wanted to know. THANKS!
By the way i did ssh into the same box i was on.
 
Old 07-22-2003, 06:42 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You're welcome, glad I could help

And, hey, I learned something new today! Thanks!

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Controlling remote acces SSH Wimpie22 Linux - Security 9 07-27-2005 05:33 PM
cannot acces easyurpmi, what now ? Biased turkey Mandriva 2 12-30-2004 12:52 PM
Acces other pc acrors Red Hat 0 08-24-2004 10:56 PM
Remote acces to my x session eloicases Linux - Networking 2 06-15-2004 07:49 AM
I only have read acces on remote connection Stuartb21 Linux - Networking 1 02-12-2004 06:45 PM

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

All times are GMT -5. The time now is 12:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration