Using for SSH & SCP with Mac OS X or Linux Command Lines offers a variety of ways to connect to your remote device using SSH.  You can use a standalone SSH client application such as PuTTY, or command-line scripts, depending on your Operating System.

Summary: These instructions will connect a Mac OS X or Linux computer using a terminal window, to a SSH service.

Before you start:  If you have not already done so, create a free account.  Then configure a device for an SSH connection using the weavedconnectd installer.

Works With:

  • Devices: All devices running an SSH server.
  • Clients: Mac OS/X terminal and Linux console or terminal window.

Connect to a enabled SSH Device

Sign In to your account, locate your Device in the on the Manage Devices page, and click on the device name.  


You will then see a window showing the services available on that device.

Click on the service you wish to connect to, then click on "Confirm".  

Web services will open directly in the browser.  For all other types of services, you will see a dialog with connection details.

The command line is preformatted to work with the ssh command line program.  However, ssh expects the username to be included here.  Since we don’t know what your username is, we’ve inserted the word LOGIN as a place holder for you to enter your own username.  We have supplied some preformatted lines using the pi and root usernames for your convenience.

Double-click on the word LOGIN in the dialog box.  This highlights the word.

When you type in your username, it will replace the word LOGIN.  The example shown below is a Wandboard running Ubuntu Linux, and the username is “ubuntu”.  For Raspberry Pi running the Raspbian OS, the username is “pi”.


Now copy and paste this entire command line from the connection dialog that appears in your browser to your Mac or Linux terminal window and press “Enter”.


This initiates the login. You will probably see the following security message (or something similar), which is entirely normal.  Type “yes” to accept the new SSH key into your key cache.


Enter your password when prompted.


Now you are logged in and can run commands as you normally would.


Transfer files to or from a Enabled SSH Device using SCP on the command line

Use the method described above to get the URL and port for an SSH connection.

Now you’ll need to type the scp command line using the Hostname and Port value provided.  For the purpose of this example, suppose you are copying the file /home/user/info.txt to the connected device in the location /home/pi/info.txt.  The correct format for the command line is:

scp -P 38400 /home/user/info.txt

Don’t copy this command line verbatim.  Substitute the Hostname and Port provided in the SSH connection dialog, and the username on the remote system (NOT your account name).  Enter your device’s password when prompted.

You may get a “permission denied” error if the remote user does not have write access to the remote folder.  If you need to copy a file to a write-protected remote folder, you’ll need to first copy it to a write-enabled remote folder, then login using SSH, finally using “sudo mv” to move the file to its final destination.

For more details about using the scp command, please visit .

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.