LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2011, 06:57 PM   #1
loba09
LQ Newbie
 
Registered: May 2009
Posts: 15

Rep: Reputation: 0
Smile 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..
 
Old 02-17-2011, 07:04 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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?
 
  


Reply



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
[SOLVED] how can I search "$" in vim ,which is not the end of line but the real char '$'. e3399 Linux - Newbie 1 12-01-2010 10:01 AM
[SOLVED] How important is " CLUE", Command Line User Environment? vyver Linux - Newbie 36 11-04-2010 10:22 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Simple bash script "unexpected end of line error" snowman81 Programming 11 11-11-2007 09:31 AM
Can I redirect script output to a file without ">> $LOGFILE" at the end of each line davee Linux - General 1 12-19-2003 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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