Difference between revisions of "Setup SSH Server on Raspberry Pi with Raspbian Lite"
Jump to navigation
Jump to search
(Create the page.) |
|||
Line 23: | Line 23: | ||
'''Note:''' Don't choose a IP-Address from your dhcppool. | '''Note:''' Don't choose a IP-Address from your dhcppool. | ||
=== Enable SSH === | === Enable SSH === | ||
Line 34: | Line 33: | ||
[[Raspberry Pi 3 Model B+]] | [[Raspberry Pi 3 Model B+]] | ||
== References == | == References == |
Latest revision as of 17:48, 1 March 2021
Summary
This guide explains how to configure a static IP-Address and setup a ssh server on raspbian Lite.
Requirements
- Operating system: Raspberry Pi
Description
Setting a static IP
This guide uses the /etc/network/interfaces file to configure a static IP. Edit the file with:
sudo nano /etc/network/interfaces
Enter the following lines with your desired IP-Address and network configurations:
auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.133 netmask 255.255.255.0 gateway 192.168.0.1
Note: Don't choose a IP-Address from your dhcppool.
Enable SSH
I am going to use the terminal to enable the SSH server. To enable the SSH server enter the following two commands:
sudo systemctl enable ssh sudo systemctl start ssh