---
title: "secureCRT链接linux错误信息"
author: "xxtianxiaxing"
date: "2010-01-11T12:00:38Z"
tags: []
categories: ["操作系统"]
slug: "securecrt-linux"
draft: false
lastmod: "2010-01-11T12:00:38Z"
id: 567357
url: "https://xylonwang.iteye.com/blog/567357"
---

secureCRT链接linux错误信息：

the remote system refused the connection

 

解决：

      启动该服务：service sshd start

    　Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable.  
　　\[FAILED]  
　　使用rpm -V 命令可检查到ssh的软件包正常，但某个目录的属主错误。  
　　-bash-2.05b# rpm -V openssh-server  
　　S.5..... c /etc/ssh/sshd\_config  
　　.....U.. /var/empty/sshd  
　　-bash-2.05b#  
　　经查看发现这个目录的属主不是root，所以启动ssh报错  
　　-bash-2.05b# ls -ld /var/empty/sshd/  
　　d--x--x--x 2 vu00106 root 1024 Feb 2 2005 /var/empty/sshd/  
　　-bash-2.05b#  
　　修改为root属主，启动成功  
　　-bash-2.05b# chown root /var/empty/sshd/  
　　-bash-2.05b# /etc/init.d/sshd start  
　　Starting sshd: \[ OK ]  
　　-bash-2.05b#  
　　至此问题修复。  
　　另外，还可以尝试：  
　　这个是权限的问题  
　　可采取以下两步解决  
　　chown -R root.root /var/empty/sshd  
　　chmod 744 /var/empty/sshd  
　　service sshd restart  
　　就可以解决上述的问题。