LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-05-2005, 06:00 AM   #1
jsnch
Member
 
Registered: May 2005
Posts: 42

Rep: Reputation: 15
a queston about SSH..


when i finished setup Linux as4 , and not start ssh. i mermory have one command can start ssh, but i forget it , are you know?
 
Old 07-05-2005, 06:06 AM   #2
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
maybe: /etc/rc.d/init.d/sshd start
 
Old 07-05-2005, 06:07 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
to start ssh-daemon type (as root)

/etc/init.d/sshd start
 
Old 07-05-2005, 06:36 AM   #4
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
The right answer is: if you want to start from an init script, it depends on your distribution

redhat, fedora: /etc/rc.d/init.d/sshd start
slackware: /etc/rc.d/rc.sshd start
and so on


A general answer could be: see where is sshd (#whereis sshd) and start it manually.
 
Old 07-05-2005, 08:17 AM   #5
jsnch
Member
 
Registered: May 2005
Posts: 42

Original Poster
Rep: Reputation: 15
no,i use
#/etc/rc.d/init.d/sshd start
show
/etc/rc.d/init.d/sshd: not found
 
Old 07-05-2005, 08:21 AM   #6
jsnch
Member
 
Registered: May 2005
Posts: 42

Original Poster
Rep: Reputation: 15
yes,i can start ssh, but it stop run when i restart machine, how can to not stop run after restart pc
 
Old 07-05-2005, 09:31 AM   #7
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
which distro?
under this location is normally (FC,RH) the init script for the sshd.
 
Old 07-05-2005, 07:59 PM   #8
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
You do

find /etc -iname sshd

now you look to see which one seems an init script and you type the path you found and the start as it is described above
 
  


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
odd k3b queston eltongeoff Linux - Software 3 09-11-2003 08:10 PM
last queston...???antivirus for linux banana2 Linux - Software 3 03-29-2003 12:11 PM
apsfilter queston.... hjles Slackware 8 02-16-2003 04:39 PM
math queston linuxhelp Linux - General 3 12-17-2002 03:36 PM
Ethereal-0.9.3 installation queston. jpweston Linux - Software 2 04-16-2002 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:09 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