Skip to content

Commit 5ee6803

Browse files
committed
Remove tip.
1 parent ab991e7 commit 5ee6803

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tutorials/sftp_publickeyauth.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ Public-key authentication allows you to connect to a remote server without a pas
1515
```
1616

1717
2. Copy the public key to the server you wish to access and add it to the file `authorized_keys` in your `~/.ssh`
18-
directory.
19-
:::{tip}
20-
You may need to create the file if it does not exist.
21-
:::
22-
23-
This will cause the server to allow authenticating with your corresponding private key.
18+
directory. This will cause the server to allow authenticating with your corresponding private key.
2419
```
25-
ssh hostname < ~/.ssh/id_rsa.pub 'cat >> .ssh/authorized_keys'
20+
ssh user@remotehost < ~/.ssh/id_rsa.pub 'cat >> .ssh/authorized_keys'
2621
```
2722
3. In the [Bookmark](../cyberduck/bookmarks.md) or [Connection](../cyberduck/connection.md) window, in *SSH Private Key* select the private key in your `~/.ssh` directory. When connecting, you will be prompted to enter the password for the private key. Choose *Save Password* to [save the password](../cyberduck/connection.md#passwords).

0 commit comments

Comments
 (0)