Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

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 as discribed below can be used on Unix/Linux or the Mac terminal.

The OpenSSH ssh command as discribed below can be used with some addional tools as well as on Windows host System. See section Windows Host System for Details.

System Requirements:

iam 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

To open a shell on the camera use the following command:

ss root@192.168.1.10

It can be closed by typing the following 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 iam .

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.

  1. Open an OpenSSH connection from your host system

    ssh root@192.168.1.10

  2. The root password is required.
    Do not get confused hence there will not be a display feedback while typing.

  3. Start the command line application top on the system.

  4. To exit the application use the command ctrl+c.


  • No labels