OpenSSH
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 for logging into the remote machine, transferring files between the two machines, and for executing commands on the remote machine.
The OpenSSH ssh
command can be used on Unix/Linux or the Mac terminal.
System Requirements:
The iam system needs to be booted. 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:
sudo apt-get install openssh-server |
Before one can establish an OpenSSH connection, you need to add the camera to your "known host systems" by the command below
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:
ssh root@192.168.1.10 |
it can be cloesed by typ in the command
exit |
OpenSSH with remote windows support
If on need X-Server Support the -Y or -X command must be added.
The more secure mode with -X can be used equivalent.
ssh -Y root@192.168.1.10 |
File Transfer
pull example:
scp root@192.168.1.10:/home/root/yourfile.txt |
push example:
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.
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
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 systemfor exit the application on can use the comand
ctrl+c
.