start page | rating of books | rating of authors | reviews | copyrights

Unix Power ToolsUnix Power ToolsSearch this book

Chapter 51. SSH

Contents:

Enabling Remote Access on Mac OS X
Protecting Access Through SSH
Free SSH with OpenSSH
SSH Problems and Solutions
General and Authentication Problems
Key and Agent Problems
Server and Client Problems

51.1. Enabling Remote Access on Mac OS X

Enabling SSH (Section 46.6) on Mac OS X is fairly simple. Access the System Preferences from the Apple menu and double-click the Sharing folder. When this opens, click the Application tab and check the box labeled "Allow remote login." Quit System Preferences, and the machine is now configured for SSH access, remotely.

To enable telnet , rsh, or rlogin (if you're sure you want these processes), open the Terminal window and edit the /etc/inetd.conf file (using sudo (Section 49.11) if you're logged in as a member of the administration group (Section 49.7) or login as root). Remove the pound sign (#) from in front of whatever remote service you want to enable:

#ftp     stream   tcp     nowait     root    /usr/libexec/tcpd            ftpd -L

You'll need to restart the server, or you can restart inetd (Section 46.5) by typing:

kill -HUP 'cat /var/run/inetd.pid'

-- SP



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.