Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

...

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.

...

Info

The OpenSSH ssh command as discribed below can be used on Unix/Linux or the Mac terminal.

Info

The OpenSSH ssh command as discribed below can be used with some additional 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:

Code Block
languagebash
sudo apt-get install openssh-server

...

Before establishing an OpenSSH connection

...

, add the camera to your "known host systems"

...

with the command below:

Code Block
languagebash
ssh-keygen -f "/home/$USER/.ssh/known_hosts" -R 192.168.1.10

Usefull commands:

Open

...

a SSH connection

...

To open

...

a shell on the camera use the following command:

Code Block

...

ss root@192.168.1.10

...

It can be

...

closed by

...

typing the following command:

Code Block
languagebash
exit

OpenSSH with remote

...

Windows support

...

For X-Server

...

support the -Y or -X command

...

must be added.

...

Info

The more secure mode with -X can be used equivalent.

Code Block
languagebash
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/

...

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

...

.

Code Block
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

    Code Block
    languagebash
    ssh root@192.168.1.10

...

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

...

  1. typing.

  2. Start the

...

  1. command line application top on the system.

    Image ModifiedImage Modified

...

  1. To exit the application

...

  1. use the

...

  1. command ctrl+c.

...

🔍 References

🔗 related content

👥 contact NET

...

...