• Enter email to sit in the first row

Secure SSH connection between Windows and Raspbian


Do you know that you can deal with Raspberry Pi without screen, mouse and even keyboard connected? All you need is SD card and power supply. Here are 3 simple steps how to do it:

  1. Our starting point is:
    • Installed Raspbian or Raspbian Lite. You can learn how to install here: quick system installation on Raspberry Pi
    • LAN connection configured on Raspberry. Setting static IP will be the best.
    • To encrease Raspbian security change your password with command: passwd Enter current password and then two times your new password. Don’t be surprised – pssword letters are not displayed on the screen of course.
    • passwd_command

  2. Enable SSH server on Raspbian operating system:
    • Write command sudo raspi-config It will launch Raspbian configuration tool.
    • Go to ‘Interfacing Options’.
    • interfacing_options_raspi-config

    • And then to ‘SSH’.
    • ssh_raspi-config

    • Accept server enabling.
    • enable_ssh_raspi-config

    • And you will get good news. From this moment you can connect to your Raspberry Pi via secure SSH channel.
    • ssh_server_enabled_raspi-config.png

    • You can now leave raspi-config tool.
    • finish_raspi-config

  3. Install and configure SSH client on your PC with Windows OS:
    • Download and install SSH client. Free PuTTY is good choice (http://www.putty.org/). You can get it from official download page: HERE.
    • If you dont know your Raspberry IP address you should do this: ifconfigMine is 192.168.1.120, but yours will be diffrent probably 🙂
    • ifconfig

    • Launch PuTTY, type IP address, sesion name (its your choice) and click ‘Save’ button.
    • PuTTY_add_conn

    • Double click your sesion name to establich the connection.
    • PuTTY_start_conn

    • If there is the very first connection to this machine accept the security key.
    • PuTTY_accept_key

    • Type login and password to get remote access to your Raspberry Pi machine.
    • PuTTY_connected
      Congratulations!! You have now secure remote access to your Raspberry Pi without screen, mouse and keyboard connected !! Good job 🙂

Tagged , , , , . Bookmark the permalink.

Comments are closed.