LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sshd (https://www.linuxquestions.org/questions/linux-networking-3/sshd-18501/)

kylo8787 04-14-2002 02:43 PM

sshd
 
whenever i start sshd -e it says dameon() failed: Sucess..
and it doesnt work

but when i start it like sshd -d it works..

does anybody know how i could get the dameon to work?

griffin 04-14-2002 11:07 PM

I've never used sshd with any command line options, but are there any helpful messages in /var/log/messages about ssh and why it couldn't start?

kylo8787 04-15-2002 01:33 PM

that is what i get in /var/log....

the -e just puts the output to the screen other than the log

Mara 04-15-2002 03:28 PM


 
Are you sure your ssh settings are right? Maybe something is wrong with them. -d mode processes only one connection at time, maybe it's something related with it?

kylo8787 04-15-2002 05:14 PM

Port 22
#Protocol 2,1
ListenAddress 192.168.1.4
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
#
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
#PrintLastLog no
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
#ChallengeResponseAuthentication no

# Uncomment to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

#CheckMail yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes

Subsystem sftp /usr/libexec/sftp-server

its pretty much the defualt config file im pretty sure everything is right...


All times are GMT -5. The time now is 10:13 AM.