LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-14-2003, 01:05 AM   #1
BenChase
LQ Newbie
 
Registered: Dec 2003
Location: Spokane, WA
Distribution: Slackware 9.1
Posts: 10

Rep: Reputation: 0
Smile Configuration of SSH daemon on Slackware 9.1 - Newbie


Hello folks,

First off, I'm new to Linux. I've got a good background in the Cisco IOS CLI, so I'm familar with a lot of the syntax, and I've written Perl scripts on Windows machines, so I can comprehend regular expressions fairly well. I appreciate any help that can be provided.

Here's my question:

I would like to enable SSH access to my slackware box from the outside world. I have a static IP and NAT enabled, and have already forwarded port 22 through my AP to redirect to my internal IP for the slackware box.
The end result is for me to SSH across the internet to my slackware machine and work on the box and/or transfer files to/from my 2 windows XP machines. I'm not too worried about setting up ftp or sftp right now, I just want to get SSH down well. I have a SSH client on my laptop at work (windows XP).

I have Slackware 9.1 installed on a PIII 600mhz machine. SCSI CD-RW and SCSI 9.1GB HDD.

I've looked at the man pages for SSHD and I am not sure about how to set up the configuration.

I thank you in advance for any assistance.


Ben
 
Old 12-14-2003, 01:44 AM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
It should be setup pretty well by default. You shouldn't have to do much of anything to get it working except start the server, unless you need some customization of one aspect or another. The config files for it are in /etc/ssh/. And you can start the server by making it's startup script executable:

chmod 755 /etc/rc.d/rc.sshd

and then start it:

/etc/rc.d/ec.sshd start


By making the startup script executable, it should be started by default when you boot the PC from then on. If not, then check rc.inet2 to make sure it's not commented out.

Last edited by DaHammer; 12-14-2003 at 01:46 AM.
 
Old 12-14-2003, 07:09 PM   #3
BenChase
LQ Newbie
 
Registered: Dec 2003
Location: Spokane, WA
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
I'll give that a try. Thanks!
 
Old 12-14-2003, 08:06 PM   #4
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
if you still can't connect, your workplace firewall may be blocking port 22. A lot of corp. firewalls block that port. You might have to change the default port it listens on. Most corp. firewalls do not block port 53, 80, or 443.
 
Old 12-14-2003, 10:23 PM   #5
BenChase
LQ Newbie
 
Registered: Dec 2003
Location: Spokane, WA
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
Fortunately, I have control over our PIX and routers, so I can ensure that only my IP is allowed to use port 22 outgoing.
 
Old 12-14-2003, 11:46 PM   #6
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Very nice! Wish they'd give me that control at work. I have to hunt for open ports.
 
Old 12-14-2003, 11:50 PM   #7
BenChase
LQ Newbie
 
Registered: Dec 2003
Location: Spokane, WA
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
Well, it's the least I can ask for, considering that it's my job

Maybe a little nmap -sS is what you need I don't know of any better tool to find open ports
 
Old 12-14-2003, 11:57 PM   #8
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
LOL. Well I guess so if that's your job.
I have discovered all the open ports I need at the moment, but I will remember that in the future! Thanks!
 
  


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
Trustix IPTABLES Newbie/manual ssh configuration Soulful93 Linux - Security 4 09-04-2005 07:38 PM
Slackware 10.1 + SSH Configuration Robert154 Linux - Networking 4 08-26-2005 11:01 PM
SSH daemon under AIX5 NOTORIOUS VR AIX 13 03-11-2005 02:23 PM
newbie/ssh/slackware - questions renato167 Slackware 14 12-16-2003 08:31 PM
Solaris 9 and SSH Daemon g_goblin Solaris / OpenSolaris 3 11-05-2003 02:36 AM


All times are GMT -5. The time now is 06:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration