How to Restart the service sshd in Fedora Linux System ?

Steven Stern subscribed-lists at sterndata.com
Mon Dec 22 13:19:30 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/22/2008 07:06 AM, Jyotishmaan Ray wrote:
> Dear All FEDORA Users,
> 
> I am a new bir in fedora linux system as administrator.
> 
> Please tell me one thing.
> 
> In my fedora linux os server, i am not able to sshd service .
> 
> The thing is that, once I had to change the permissions of the files
> just in order to avoid the other users to explore the system, using
> chmod command. However, I have immediately changed the permissons again
> back.
> 
> 
> Soon after that I could not log on to the fedora server systm using the
> ssh  serverhostname username command.
> 
> When tried to run sshd service using service sshd restart, I got the
> folloeing errors shown below:-
> 
> 
> Permissions 0755 for '/etc/ssh/ssh_host_dsa_key' are too open.
> It is recommended that your private key files are NOT accessible by others.
> This private key will be ignored.
> bad permissions :ignore key: /etc/ssh/ssh_host_dsa_key
> Could not load host key : /etc/ssh/ssh_host_dsa_key
> Disabling protocol version 2. Could not load host key
> sshd: no  hostkeys available --exiting
> 
> 
> 
> Please immedialtely let me know, what to fix in order to restart the
> service sshd.
> 
> 
> 
> Thanks,
> Jyotishmaan Ray
> Moderator Of Paradise Groups
> http://yahoogroups.com/group/Spirituality-Paradise
>  
>
If you must reply to digest messges, please trim them to the relevant
portion.

$ ll /etc/ssh*
total 164
- -rw------- 1 root root 125811 2008-10-17 03:44 moduli
- -rw-r--r-- 1 root root   1964 2008-10-17 03:44 ssh_config
- -rw------- 1 root root   3658 2008-05-23 18:38 sshd_config
- -rw------- 1 root root   3711 2008-10-17 03:44 sshd_config.rpmnew
- -rw------- 1 root root    668 2008-05-23 17:52 ssh_host_dsa_key
- -rw-r--r-- 1 root root    590 2008-05-23 17:52 ssh_host_dsa_key.pub
- -rw------- 1 root root    963 2008-05-23 17:52 ssh_host_key
- -rw-r--r-- 1 root root    627 2008-05-23 17:52 ssh_host_key.pub
- -rw------- 1 root root   1675 2008-05-23 17:52 ssh_host_rsa_key
- -rw-r--r-- 1 root root    382 2008-05-23 17:52 ssh_host_rsa_key.pub



- --

  Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklPk+IACgkQeERILVgMyvDGtgCfavM35JCAWBoJ/7At23Q/UNId
PPwAn1aFBGyjjd3Mv4+NFP++Wk1PAZ/v
=x3KJ
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list