Thanks as well for the Very detailed explanation as usual Ester. I
was wondering about that too, if I was in a situation where I was
using somebody else's mac, and totally away from my network, could I
log in this way as well? I've got a free host from http://no-ip.com,
so could I log in giveing that as the address if I was totally away
from my network?
On 19-May-08, at 11:22 AM, Esther wrote:
Hi Jane,
What exactly is Remote login? Does it mean what I think it means,
maily that I can "log in" to my account on the iMac using my
iBook? If I am doing so on my own iBook, can someone else log into
antoher account at the same time using another iBook?
Yes, if you have enabled remote login for your computer, other
users can log into accounts on that machine at the same time through
the terminal application. You can't use Telnet for these logins.
Instead, you can use SSH (Secure Shell) and its file transfer
counterpart, SFTP (Secure FTP) for your remote terminal sessions.
When you remote login it is as though you were running a terminal
on the remote machine, and you can have multiple sessions (or
even multiple logins onto your own account). (This would be a
good time to review Shaun's mp3 files on using Terminal <smile>.)
SSH and SFTP encrypt your sessions, so even if you log into your
second machine on a wireless connection both the information you
type and your login/password sequence are secure. (This does mean
that large file transfers will be noticeably slower through SFTP
than through direct FTP because of the encryption).
Assuming you have Remote login enabled, just open a terminal
session (Command-Shift+U from Finder to go to the Utilities
folder, interact, Type "T" to go to terminal, and open with
VO-keys+space or Command-o). If you want to log in as "jane"
on your iBook, and you know that its IP address on your
network is 10.0.1.3, for example, then just type:
ssh -l jane 10.0.1.3
or I prefer to use the format with the AT sign used for email:
ssh [EMAIL PROTECTED]
(The Mail Archive will block this, so read this as:
ssh jane AT 10.0.1.3 where "AT" is replaced by the at sign and
there are no spaces around the symbol).
You'll be prompted for your password on the remote machine.
There are other ways to set up SSH, but this is probably the
easiest way for you to start. If you want to use SFTP, just
replace "ssh" with "sftp" in the above commands. Once your are
logged in, you will have to change to the directory you want
to transfer files to or from with commands like "cd". Then you
can "put" or "get" files. Wild cards work for file names.
If you're distributing IP addresses with a local AirPort or other
wireless router you can check the address of your machine through
System Preferences. VO-keys+m to move to the Apple Menu,
arrow down and type "Sy" to go to System Preferences. Tab to
"Network" and VO-keys+space to select. Either tab or VO-keys+
right arrow to the second popup button that selects what
information is being shown. If you don't have your mouse cursor
tracking your VoiceOver cursor, move mouse cursor to VoiceOver
cursor with Control-Option-Command-F5 (laptop users may also need
to press the FN key depending on how your preferences are set).
VO-keys+shift on the popup button and type "A" to set this to
AirPort and return. VO-keys+right arrow to the TCP/IP tab and
VO-keys+space to select it, then VO-keys+right arrow to read off
the IP Address.
If you're on a wired connection, choose "Built-In Ethernet" instead
of "AirPort" on the popup button, and go on to check the TCP/IP tab.
An alternative to using the TCP/IP pane of your AirPort under
Network in System Preferences to find you IP address is to use
a unix command in terminal:
ifconfig | grep broadcast | say
(You probably won't find this easy to remember, though <smile>).
This is the interface configurator (ifconfig) for setting up and
querying TCP/IP (transmission control protocol/internet protocol)
interfaces. The above command pipes the long output of the
ifconfig command into a pattern search for the line that gives
the IP address your machine is broadcasting. Only the first
part of the line following inet is the address:
inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255
If you need to hear the results of the ifconfig command again,
press your up arrow and return.
To allow remote login access to your computer, open System
Preferences and go to Sharing. Choose the Services tab.
interact with the table, and select the Remote Login option
by checking the box.
HTH. Cheers,
Esther