LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Starting sshd: /etc/ssh/sshd_config line 60: garbage at end of line; "no". any clue? (https://www.linuxquestions.org/questions/linux-server-73/starting-sshd-etc-ssh-sshd_config-line-60-garbage-at-end-of-line%3B-no-any-clue-863417/)

loba09 02-17-2011 06:57 PM

Starting sshd: /etc/ssh/sshd_config line 60: garbage at end of line; "no". any clue?
 
i have some problem about my configuration ssh in centOS(testing) any ideal??..

[root@localhost /]# /etc/rc.d/init.d/sshd restart
Stopping sshd: [FAILED]
Starting sshd: /etc/ssh/sshd_config line 60: garbage at end of line; "no". [FAILED]

[root@localhost /]#

vi /etc/ssh/ssh_config

# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no

# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
AllowUsers zaragoza
# Prevent root Login:
PermitRootLogin no
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Run ssh on a non-standard port
Port 4455
# Protocol 2,1
Protocol 2
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
Host *
GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
ForwardX11Trusted yes
# Send locale-related environment variables
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL


thanks..
*any tutorial about more secure SSH u can recommend to me..

gilead 02-17-2011 07:04 PM

You've posted info from /etc/ssh/ssh_config, but the problem is with /etc/ssh/sshd_config at line 60. Can you please post the other file so we can see line 60?


All times are GMT -5. The time now is 03:15 AM.