Remote Access & File Transfer
4 minute read
In some cases it is required to remote login or transfer files with your controller. In this section you will login to a Motorcortex Controller from a client using SSH (Secure SHell) to use command line tools of the Motorcortex controller or use SFTP (SSH File Transfer Protocol) to transfer files to and from the Motorcortex-OS.
Please select the OS that you are using:
The Motorcortex has a ssh server installed which makes remote login (ssh) and transfer of files possible (sftp). It is possible to log into the Motorcortex Computer with a terminal.
Remote Access
-
Logging in to execute commands can be done directly by typing the following command in the terminal:
ssh admin@192.168.2.100
Note
If you have connected a controller before it might be possible that you will receive a identification error. follow the instructions in this error or check out SSH Troubleshooting
-
The controller will request you to instal a key fingerprint continue by typing in
yes
. -
Fill in the controller password (the default password is
vectioneer
). -
Once logged-in your terminal will look like this.
-
Congratulations you are now logged on to your controller!
File transfer
The Motorcortex Controller has a ssh server installed which makes remote login (ssh) and transfer of files possible (sftp). Most Ubuntu distributions come with native support for ssh and sftp, both as command-line or desktop tools.
-
In the File Manager click on
Other Locations
-
Fill in the url
sftp://admin@192.168.2.100
underConnect to Server
.(admin
is the standard user) -
Click
Connect
-
Fill in the password
vectioneer
at and clickUnlock
. -
Congratulations you now have the ability to transfer files to and from your controller!
SSH Troubleshooting
Having trouble remote accessing to your controller? The following steps will help you solve these issues.
-
Check if you are receiving the following message in the terminal while connecting trough ssh.
-
Remove the old key using the following command copied from the error message.
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "192.168.2.100"
Warning
Make sure that
user
is the login name on your computer. -
retry to login to your controller with the following command
ssh admin@192.168.2.100
The Motorcortex has a ssh server installed which makes remote login (ssh) and transfer of files possible (sftp). It is possible to log into the Motorcortex Computer with the command line.
Remote Access
Users of windows 10 or later can directly login to the controller by ssh. Users with older versions of windows will need to install a external tool like putty putty.
-
Login to the Motorcortex explorer by typing the following command in the
cmd-line
.ssh admin@192.168.2.100
-
The controller will request you to instal a key fingerprint continue by typing in
yes
. -
Fill in the controller password (the default password is
vectioneer
). -
Once logged-in your terminal will look like this.
Note
If you have connected a controller before it might be possible that you will receive a identification error. follow the instructions in this error or check out SSH Troubleshooting
-
Congratulations you are now logged on to your controller!
File transfer
For Windows the recommended tool to transfer files is FileZilla Client
www.filezilla-project.org.
-
Download and Install the
Filezilla Client
-
Open the
Filezilla Client
-
Fill in the
Host:
the controller ip:192.168.2.100
-
Fill in the
Username:
the controller ip:admin
-
Fill in the
Password:
the controller ip:vectioneer
-
Fill in the
Port:
the controller ip:22
-
Click the
Quickconnect
button to access file transfer to the controller.Note
For security reasons it is not possible to copy files directly into all system folders, only system folders that are needed for configuration of EtherCAT slaves are writable with the
-
Congratulations you now have the ability to transfer files to and from your controller!
SSH Troubleshooting
Having trouble remote accessing to your controller? The following steps will help you solve these issues.
-
Check if you are receiving the following message in the terminal while connecting trough ssh.
-
Remove the old key by going to
C:\Users\User\.ssh
folder and deleting theknown_hosts
file.Warning
Make sure that
user
is the login name on your computer. -
Retry to login to your controller with the following command in the
command line
.ssh admin@192.168.2.100
The next step is to install a browser certificate for using Motorcortex.io tools. Install Browser Certificate