SSH/Telnet Login
SSH Introduction
SSH (Secure Shell) is a protocol used for secure access and data transmission over an insecure network. It ensures secure communication between the client and server through encryption and authentication mechanisms.
Key features of SSH include:
- Security: SSH uses encryption algorithms to prevent data from being eavesdropped or tampered with during transmission. It also provides authentication mechanisms to ensure that only authorized users can access the system.
- Remote Access: SSH allows users to execute commands on a remote computer, providing a secure terminal session. This is useful for remote management of servers and devices.
- File Transfer: With SSH, files can be securely transferred using SCP (Secure Copy Protocol) or SFTP (SSH File Transfer Protocol).
- Port Forwarding: SSH supports port forwarding, allowing services on the local computer to be securely transmitted to a remote server, enhancing network security.
SSH Login
The latest firmware for the Luckfox Pico Ultra has SSH enabled by default. You can log in using either the static IP of the RNDIS network card (via Type-C) or the IP address assigned to the eth0 network port.
Login: root
Password: luckfox
Static IP: 172.32.0.93Ubuntu
Login: pico
Password: luckfox
Static IP: 172.32.0.70
Static IP Login
Preparation
Before using the USB virtual network card on the Luckfox Pico Ultra, you need to configure the RNDIS virtual network port. The login method for Luckfox Pico Ultra is similar to the static IP login method, but with the presence of a network port, you don't need to worry about USB connection issues or setting up a virtual network port. Additionally, the IP address can be set as a fixed static IP according to the "System Configuration" section.
Windows Security Center -> Firewall and Network Protection -> Turn off the firewall.
Configure a static IP for the RNDIS network card. Open Settings -> Advanced Network Settings -> Change Adapter Options.
The network card's name is usually similar to "Remote NDIS based Internet Sharing Device." Right-click and choose Properties.
Double-click on "Internet Protocol Version 4 (TCP/IPv4)." Set the IPv4 address to 172.32.0.100 to avoid conflicts with other devices.
Password Login
You can use the Powershell terminal on a Windows computer to enter the password for direct login. The format is ssh client_username@server_ip_address
ssh root@172.32.0.93
ssh pico@172.32.0.70Buildroot
Ubuntu
MobaXterm Login
- Download MobaXterm remote login software, and unzip to use.
- Open the MobaXterm remote login software, choose Session->SSH, enter the static IP address of Luckfox Pico as 172.32.0.xxx (fill in according to your actual IP).
- After filling it out, click OK, enter the login name and login password for the corresponding system of Luckfox Pico (There is no change on the screen when entering the password, which is normal. Press Enter after entering the password to access).
- At this point, you have successfully logged in to Luckfox Pico.
Dynamic IP Login
The login method for Luckfox Pico Ultra is similar to the static IP login method, but with the presence of a network port, you don't need to worry about USB connection issues or setting up a virtual network port. Additionally, the IP address can be set as a fixed static IP according to the "System Configuration" section.
You can use the Powershell terminal on a Windows computer to enter the password for direct login, the format is ssh client_username@server_ip_address.
Use MobaXterm to log in.
Telnet Introduction
Telnet (Telecommunication Network) is a remote login protocol used for command-line sessions between computers over a network. Telnet was initially designed for simple text transfer and remote management but has been replaced by more secure protocols such as SSH due to its lack of security.
Key features of Telnet include:
- Text Transfer: Telnet transfers data in plain text and is mainly used for executing commands and viewing output on remote computers.
- Insecurity: Telnet communication is not encrypted, and passwords and other sensitive information are transmitted in plaintext, making it susceptible to eavesdropping and interception attacks. Therefore, it is not suitable for use on an insecure network.
- Port: The default port is 23, where the Telnet server listens for remote connections.
Telnet Login
- Download MobaXterm remote login software, and unzip to use.
- Open the MobaXterm remote login software, choose Session->Telnet, enter the IP address of Luckfox Pico (fill in according to your actual IP).
- You have now successfully logged in to the development board.