官术网_书友最值得收藏!

Setup of a remote login into the Raspberry Pi

In this section, we will remotely log in to the Raspberry Pi using a secure shell. Since the Raspberry Pi comes with sshd enabled, it is possible to log in remotely using the local name, raspberrypi.local (During the bootstrapping process, the avahi-daemon tool is installed and hence, it is possible to remotely log in to the Raspberry Pi using the local name, raspberrypi.local). Alternatively, on a Windows machine, you can use a tool such as Advanced IP Scanner (http://www.advanced-ip-scanner.com/) to find the IP address of the Raspberry Pi. A snapshot of this tool is shown later in this project.

Note

If you are using a Windows machine, the Bonjour Print Services drivers have to be installed to remotely log in using the local name, raspberrypi.local. The Bonjour Print Services drivers are available from http://support.apple.com/kb/DL999.

Prepare for lift off

The IP address of the Raspberry Pi can be identified using tools such as Advanced IP Scanner, as shown in the following screenshot:

Prepare for lift off

A list of devices and IP addresses connected to a network similar to the Raspberry Pi

Engage thrusters

  1. Once we know the IP address, we use an SSH client such as PuTTY on Windows or a command-line terminal on a Linux or a Mac machine to remotely log in to the machine (in this case, we show this on a Windows machine).
  2. On a Windows machine, we either use the IP address of the Raspberry Pi or its local name (raspberrypi.local) and log in to the Raspberry Pi, as shown in the following screenshot:
    Engage thrusters
  3. Once we enter the IP address / local name in the PuTTy window, we log in as follows:
    login as: pi
    <username>@<ip address>'s password: raspberry
    

    Alternatively, we can also log in using the IP address of the Raspberry Pi instead of the local name, raspberrypi.local.

Objective complete – mini debriefing

If the username and password are entered correctly, we should be able to remotely log in to the Raspberry Pi to install the web server.

主站蜘蛛池模板: 景泰县| 修水县| 龙州县| 收藏| 涞水县| 锡林浩特市| 万宁市| 萨迦县| 怀安县| 酒泉市| 新郑市| 新乡县| 乐山市| 长泰县| 延庆县| 巧家县| 仁寿县| 涞水县| 若尔盖县| 左权县| 南充市| 晋州市| 光山县| 红原县| 山阳县| 科尔| 朝阳市| 乌兰县| 彭泽县| 井研县| 马关县| 孙吴县| 邵阳县| 疏附县| 瓦房店市| 竹山县| 应城市| 腾冲县| 突泉县| 黑龙江省| 彩票|