SSH into Dexter - abdullin/Dexter GitHub Wiki
SSH stands for "Secure SHell. It is an application running on a computer that gives you a command line interface to typing in 'shell' commands into another computer such as Dexter's Linux operating system. Here's how to use it to control your Dexter:
- Connect to your Dexter. Usually via an Ethernet cable between your computer (set the network adapter to 192.168.1.100) and the Dexter processor board.
- Username: root
- password: klg
- Install an SSH client (e.g. [PuTTY (https://www.chiark.greenend.org.uk/~sgtatham/putty/)).
- Configure the IP address in the client software to 192.168.1.142 (this is [Dexters default IP address (Dexter-Networking)), or to the IP address assigned via your router.
- set the port to 22.
- select SSH.
- Double click on the file:
Applications/Utilities/Terminal.app
- Type in
[email protected]
and hitenter
. - When prompted, type in password:
klg
and hitenter
.
-
pwd
(print working directory) -
cd
dirname_in_working_directory (change directory to the given sub directory) -
cd ..
(change directory to the parent of the working directory) -
ls
(show contents of the working directory) -
ls -l
(show working directory contents including permissions, owner, size, modified date.) -
cat
filename (show contents of the given file) -
nano
(start a new editor buffer.
Help at the screen bottom tells you basic commands.
When performing Control-x to exit the buffer, you will be prompted to indicate if you want to save the file, and if so, a new file name.) -
nano
filename (Edit an existing file.
Use arrow keys to move the cursor.
delete/backspace to delete chars before the cursor.
ctrl+o Outputs a file... this is SAVE not open.
ctrl+x to eXit. Shows prompt to allow saving file. After pressing "Y", the file name can be changed if desired. Note: If you see[MAC format]
or[DOS format]
after theFile Name to Write
prompt, then the file has extra line ending characters that you probably don't want. Press Alt M until you do not see those strings and then press enter to save the file without them.
To select text, move the cursor to the start of the text you want to select, press the Alt-A key combination to mark the start, then move the cursor to the end of the section you want to select.
Ctrl+K to cut your selection
Ctrl+U to paste it.)
Detailed instructions are available for updating the firmware or gateware