LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2004, 06:05 AM   #1
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Rep: Reputation: 15
I turned off SSH, but I cant get it back! How do you start SSH on boot?


Ive been running slackware 9.1 for a couple of months now, and with the default installation I believe SSH was running, with the ssh port opened. I wanted to secure my box a bit so followed some instructions for closing off unneeded services. I didnt need SSH, so I disabled it.

Now I want to use SSH but I have no idea how I turned it off! Most services I commented out in the /etc/inet.conf file - but there is nothing in there about SSH.

What instruction would I need to start SSH, and where should I put it to load on boot? All instructions I have found about it dont seem to apply to Slackware.

Thanks!
 
Old 02-08-2004, 06:16 AM   #2
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
The normal way of disabling and enabling services in Slackware is by adding or removing the execute rights of a script located in /etc/rc.d/ .
In this case you could issue a command like 'chmod +x /etc/rc.d/rc.sshd' and start it (will be started at boot time automaticly) with '/etc/rc.d/rc.sshd start' .

But I don't know how you disabled it so I'm not sure this works for you.
 
Old 02-08-2004, 05:18 PM   #3
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Original Poster
Rep: Reputation: 15
Yeah! I think thats it! The file doesnt have execute permissions (I cant test if changing it works, 'cause Im at work and I dont have an SSH connection

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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
ssh connect back shell? tubbay Linux - General 1 06-14-2004 12:13 PM
ssh to start at boot-up - AIX 4.3.2 ajoshay9 AIX 4 01-21-2004 08:44 PM
how to start up ssh deamon bennethos Linux - Newbie 2 10-21-2003 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration