# Connecting to a Share

_Peios / Using Peios / Sharing Folders_

> Open a Peios share from Windows, a Mac, or Linux, and sign in with an account on the Peios machine.

Connect to a share to open and save its files from another computer. You
sign in with your account on the Peios machine, not the account on the
computer you are using.

## Before you start

- Get the share's address from its administrator. It looks like
  `\\peios-box\Projects` for Windows, or `smb://peios-box/Projects` for a
  Mac or Linux. Or browse to the server, `\\peios-box`, to see the shares
  you can use.
- Know your account name and password on the Peios machine.
- Your computer must support SMB 3.1.1. Windows 10 and later, current
  versions of macOS, and Linux with a recent kernel or Samba do.
- If your computer can't find the Peios machine by name, use its IP
  address in place of the name, as in `\\192.0.2.10\Projects`.

## Connect from Windows

1. Open File Explorer.
2. Type the share's address, such as `\\peios-box\Projects`, in the address
   bar, and press Enter. To choose from the shares you can use, type the
   server's address, `\\peios-box`, instead.
3. When Windows asks for network credentials, type your account name and
   password on the Peios machine.

To give the share a drive letter, choose **Map network drive** from the
**This PC** menu, or run this in a terminal, replacing `alice` with your
account name:

```text
net use Z: \\peios-box\Projects /user:alice
```

Windows asks for the password, then shows the share as drive `Z:`.

## Connect from a Mac

1. In Finder, choose **Go › Connect to Server**.
2. Type the share's address, such as `smb://peios-box/Projects`, and choose
   **Connect**.
3. Choose **Registered User**, and type your account name and password on
   the Peios machine.

## Connect from Linux

Most Linux file managers connect to an `smb://` address. In GNOME Files,
choose **Other Locations**, type `smb://peios-box/Projects` in **Connect to
Server**, and sign in with your account name and password on the Peios
machine. Leave the domain as it is: the Peios machine ignores it.

## Check the result

The share's folder opens, and you can open its files. What you can do with
each file depends on its permissions on the Peios machine, and on any
network restriction the share has.

If the connection is refused, see
[Diagnosing File Sharing](/peios/using-peios/sharing-folders/diagnosing-file-sharing.md).

Related content:

- [Sharing a Folder](/peios/using-peios/sharing-folders/sharing-a-folder.md)
- [Diagnosing File Sharing](/peios/using-peios/sharing-folders/diagnosing-file-sharing.md)
