Penguin

Differences between version 12 and previous revision of SSHErrors.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Friday, December 3, 2004 10:24:33 pm by JohnMcPherson Revert
Older page: version 9 Last edited on Friday, August 20, 2004 5:43:55 am by AristotlePagaltzis Revert
@@ -1,7 +1,8 @@
 !!! Permissions 
  
 If you are having trouble logging in to a remote machine using ssh keys, or other methods you would be wise to check the permissions on your <tt>.ssh</tt> directory (and its parents) on that machine. The <tt>.ssh</tt> directory must have permissions 700 and the parent directory must not be group or world writeable. Additionally, your <tt>authorized_keys2</tt> file must have permissions 700. If this is the problem you will find <tt>sshd: Authentication refused: bad ownership or modes for directory</tt> in your <tt>auth.log</tt> when you try to log in. 
+  
  
 !!! TCPWrappers 
  
 If you are getting an error message along the lines of <tt>ssh_exchange_identification: Connection closed by remote host</tt> it normally means the ssh connection was established, but closed before anything could happen. This probably means [TCP] Wrappers was configured at the server end to drop connections for some reason - perhaps paranoid lookups. You can fix it by either getting your IP to resolve - both forward and reverse - correctly, removing the PARANOID line in <tt>/etc/hosts.deny</tt>, or adding <tt>sshd sshd1 sshd2 : ALL : ALLOW</tt> to <tt>/etc/hosts.allow</tt>. 
@@ -50,5 +51,6 @@
  
 If you cannot do that for whatever reason, you have to permit clients to use a 1.x protocol in sessions with the server by changing the directive <tt>Protocol 2</tt> to <tt>Protocol 2,1</tt> in the server's <tt>/etc/ssh/sshd_config</tt>. Don't forget to restart the daemon. 
  
 ---- 
-Part of CategorySecurity and CategoryNetworking 
+  
+ Part of CategorySecurity, CategoryNetworking, CategoryErrors