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 log in 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 the network settings by using the ping
command as discribed above.
The host needs a SSH-Server. The OpenSSH-Server can be installed with the following command on a Linux system:
sudo apt-get install openssh-server |
Before establishing an OpenSSH connection, add the camera to your "known host systems" with 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:
ss root@192.168.1.10 |
It can be closed by typ in the command
exit |
OpenSSH with remote windows support
For 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/ |
To transfer a complete folder use the recursive command -r
. The command below will transfer the files from your-director
to the location /home/root/your-director
onto the iam camera.
scp -r your-director root@192.168.1.10:/home/root/ |
CPU Load example
The following example shows how to start a terminal application step by step. It is an example to 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
The root password is required.
Do not get confused hence there will not be a display feedback while typing.Start the command line application
top
on the system.To exit the application use the command
ctrl+c
.