LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-16-2004, 01:05 PM   #1
gbrewste
Member
 
Registered: Jun 2004
Location: Illinois
Distribution: Fedora 2
Posts: 44

Rep: Reputation: 15
I am having Linux Withdrawal -- I need SSH


Ok, I am sitting here at work on this XP laptop with a dual boot --XP/Mandrake box at home. I just installed Mandrake 10 last night, and all I want to do is go home and fart around with it.

Too bad I couldn't figure out how to SSH to it last night; I ran out of energy at 4AM.

I haven't had time to research how to set this up yet, (So don't get mad at me for asking a question that has been asked before ) but are there any pitfalls I need to be aware of.

I have a wireless router with a cable modem. All my computers are routed through the cable modem.

I also went to dyndns.org (sp?) to set up a dynamic dns name, but the one time I tried to ssh last night it didn't work. This is what I plan to spend my evening doing, so if you are willing to offer suggestions, please do.

Thanks, from an extreme Newbie

Geoff
 
Old 06-16-2004, 01:18 PM   #2
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
Port Forward

Have you forwarded the SSH port on your router to the internal ip address of you Mandrake box?
 
Old 06-16-2004, 01:44 PM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
It may take a day or two until your newly created dns is "findable" on the web. I know mine took 1 1/2 days until I could type the name rather than the IP of my cable modem.

You may try just sshing to the Ip address of your router, instead of using your domain name, to see if it's working. Also, as mentioned above, you'll need port 22 (is that the only one?) forwarded on your router, so that it directs all incoming requests on that port to your box.

Other than that, you should be okay. I know it was a total piece of cake to set up ssh on my mandrake, and I'm a total newb...

Good luck!
 
Old 06-16-2004, 01:48 PM   #4
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
LoungeLizard is right, you need to forward the ports first.

First you will want to disable ssh access for root.

Secondly, you will want to make sure you have a good password for your user account.

With dyndns.org the routing is done instantly.

Last edited by blueCow; 06-16-2004 at 02:10 PM.
 
Old 06-16-2004, 02:25 PM   #5
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
yes port 22 is the only port you need to forward for ssh
 
Old 06-16-2004, 02:36 PM   #6
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
LoungeLizard.

Do you go to the slug meetings in Tampa?
 
Old 06-16-2004, 02:39 PM   #7
gbrewste
Member
 
Registered: Jun 2004
Location: Illinois
Distribution: Fedora 2
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks for all the tips. I am sure that my quest for ssh access will be much easier with this valuable information.

Once again, the Linux community has proven itself worthy.
 
Old 06-16-2004, 06:07 PM   #8
gbrewste
Member
 
Registered: Jun 2004
Location: Illinois
Distribution: Fedora 2
Posts: 44

Original Poster
Rep: Reputation: 15
Just wanted to let you all know that mainly due to your helpful suggestions, I got SSH working like a charm. Since that didn't take hardly any time at all, I have to figure out what to do next.

So far, I have installed the system (and then played a few games); learned how to mount and unmount drives, and got SSH and Apache working.

Any suggestions on what I should try next?

Geoff
 
Old 06-17-2004, 07:54 AM   #9
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Well, if you're really feeling motivated, you could try to set up a mail server, and then you could tell me how you did it...

Or, if you're really really feeling plucky, you could design a hitcounter for a webpage that won't conflict with other scripts on the page, and post a step by step and the script itself to walk others through it....

Have you noticed the selfish nature of my ideas? Things I've wanted to do but can't find the time...or the expertise....

Anyways, good luck to you...and have fun!
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
ssh into linux? danimal87 Linux - Newbie 4 09-03-2005 12:06 AM
SSH in Linux? wardialer Linux - Newbie 8 02-25-2005 12:31 PM
only linux to linux server SSH allowed?! etegration Linux - Software 17 02-05-2004 07:30 PM

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

All times are GMT -5. The time now is 02:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration