wiki:Docs/825gen2/Dev/Networking/SSH

Version 4 (modified by Don Wilson, 12 months ago) ( diff )

--

SSH

SSH (Secure SHell) is very useful for development on the 825gen2.

From a PC on the same network as the 825 you may use a Command Prompt or PowerShell window and type: "ssh admin@<ip_address_of_825>" such as:

PS C:\> ssh admin@10.1.2.230
admin@10.1.2.230's password:
card825gen2:~$

You will then have access to the terminal to run commands on the 825. For example "free -h" shows information about the 825 RAM memory usage.

card825gen2:~$ free -h
               total        used        free      shared  buff/cache   available
Mem:           3.8Gi       441Mi       3.2Gi        19Mi       202Mi       3.2Gi
Swap:             0B          0B          0B

SCP

SCP (Secure Copy) may also be used to copy files between a PC and an 825.

The following example copies the SQLite ID storage database from an 825 to Windows C:\Users\Public directory.

PS C:\> scp admin@10.1.2.230:/mnt/nand/apps/ids/ids.db3 c:\users\public
admin@10.1.2.230's password:
ids.db3                                                                               100%   48KB   6.6MB/s   00:00

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.