|
Connecting MAC OS X to a Unix server
Introduction to this web pageI got temporary access to an I-Mac running MAC OS X version 10.4.1, and spent some time seeing how many different ways I could connect to a Unix server. This is a Unix server on which I am a normal user, and have a home directory. I have no administrative rights to the Unix server, so have to take it as it is. MAC OS X comes equipped with a wide range of network protocols already installed, straight out of the box. So what follows is a description of the ways I have tried so far of attaching to the Unix server - there are more, which I haven`t tried yet. I am using an admin account on the MAC with the username of "ron" So far, all the successful connections have been achieved by working through the command line provided by Terminal. I haven`t managed to establish any connection by working through Finder - ie, Go / Connect to server.
TelnetThe original and very insecure Telnet works just fine - imac-123:~ ron$ imac-123:~ ron$ telnet unix-1.domain.co.uk Trying 10.10.10.10... Connected to unix-1.domain.co.uk. login: username Password: unix-1$ unix-1$
FTPAs with Telnet, the original and also insecure ftp protocol works fine as well - imac-123:~ ron$ imac-123:~ ron$ ftp unix-1.domain.co.uk Connected to unix-1.domain.co.uk 220 unix FTP server (SunOS x.x ) ready. Name (unix-1.domain.co.uk:ron): username 331 Password required for username. Password: 230 User username logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> ftp>
sshMAC OS X comes equipped with OpenSSH, which is a suite of secure networking protocols - ssh itself replaces Telnet, and works straight out of the box. The command line instructions vary, depending on usernames -
However this isn`t the whole story, the first time a MAC connects to the Unix server, there is some security handshaking between the MAC and the server. I didn`t record this dialogue, so can`t report its exact nature, however it looks approximately like :- The authenticity of host 'unix-1.domain.co.uk (10.10.10.10)' can't be established. RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Are you sure you want to continue connecting (yes/no)? At this point it is neccessary to type in the full word "yes", not just a "y" You are then presented with the opportunity to login, as above.
sftpsftp is part of the OpenSSH suite, and so works fine as well. The set up process is slicker than for legacy ftp, and is similar to using ssh :- imac-123:~ ron$ imac-123:~ ron$ sftp username@unix-1.domain.co.uk Connecting to unix-1.domain.co.uk... username@unix-1.domain.co.uk`s password: sftp> sftp>
SMBThe Unix server I am trying to connect to runs Samba, so that Microsoft Windows users can connect to the Unix server through Windows Explorer. MAC OS X includes smb in the suite of network protocols supplied, so it should be possible to connect to the Unix server through Finder, and see it within the GUI. However I couldn`t achieve this. Following some digging on the web, I found reference to there being a bug in MAC-OS-X 10.4.1, which prevents smb working as it should, the recommended cure is to upgrade to 10.4.2. I haven`t been able to do that. However it is possible to connect using smb, by working through the command line. The instruction set is imac-123:~ ron$ imac-123:~ ron$ smbclient //unix-1.domain.co.uk/homes -U username Password: DOMAIN=[MYGROUP] OS=[Unix] Server=[Samba x.x.x] smb: \> smb: \>
That`s itThat is as far as I have got so far, I`ll add some more if I can get more time on the MAC.
© 2005 Ron Turner Return to the Index page
|
|