Introduction
The smart vision system iam is designed to be controlled over an Open-Secure Shell (SSH) connection. Practically every Unix and Linux system includes the ssh
command. This command is used to start the SSH client program that enables secure connection to the SSH server on a remote machine. The ssh
command is used from logging into the remote machine, transferring files between the two machines, and for executing commands on the remote machine.
Tipinfo |
---|
The OpenSSH ssh command can be used on Unix/Linux or the Mac terminal. |
System Requirements:
The iam system needs to be bootet. Check your network settings by using the ping
command as discribed above.
The host need a SSH-Server. You can install openssh-server with the following command on a linux system:
Code Block |
---|
| sudo apt-get install openssh-server |
|
Bevore on can establish an OpenSSH connection you need to add the camera to your "known host systems" by the command below
Code Block |
---|
| ssh-keygen -f "/home/$USER/.ssh/known_hosts" -R 192.168.1.10 |
|
Usefull commands:
Open an SSH connection
For open an shell on the camera use the following command:
Code Block |
---|
ssh root@192.168.1.10 |
|
it can be cloesed by typ in the command
OpenSSH with remote window support
If on need X-Server Support the -Y or -X command musst be added.
Tipinfo |
---|
The more secure mode with -X can be used equivalent. |
Code Block |
---|
| ssh -Y root@192.168.1.10 |
|
File Transfer
pull example:
Code Block |
---|
scp root@192.168.1.10:/home/root/yourfile.txt |
|
push example:
Code Block |
---|
scp yourfile.txt root@192.168.1.10:/home/root/ |
|
If on want to transfere a complete folder on will use the recursive command -r
. The command below will transfer the files from your-director
to the location /home/root/your-director
on iam camera.
Code Block |
---|
scp -r your-director root@192.168.1.10:/home/root/ |
|
CPU Load example
The following example shows how to start an terminal application step by step as an example of display the current processes and services running on the camera system.
Open an OpenSSH connection from your host system
Code Block |
---|
|
ssh root@192.168.1.10 |
On will get asket for the root passwort.
Do not get confused hence there will not be a display feedback while tiping.
Start the comand line application top
on the system
for exit the application on can use the comand ctrl+c
.