Terminal and SSH
Terminal Sessions
Click the Terminal sessions button (the terminal icon) in the chat input bar. The menu, titled "Terminal sessions", lets you open the local shell or reconnect a remote session. It lists:
- Local terminal, with an Open or Close toggle.
- Each open SSH session, with a Disconnect button.
The local terminal is one shared shell. The chat dock and the code editor attach to the same session, so opening it again reuses the session instead of creating a duplicate. It starts in your workspace folder.
Connect to a Server with SSH
Ask Clove to connect to a server, for example "Connect to build01 as bob and check the disk space." Every SSH action always needs your approval, even in automatic mode.
Connect card
The card shows the target as user@host:port, with Connect and Deny buttons.
If no password is stored for the login, the card also shows:
- A password field: Password for user@host:port (leave blank to use a key).
- A Remember this password checkbox, on by default.
- On: "Stored on this machine in: ..." followed by where the password is kept.
- Off: "Used for this connection only. Nothing is saved."
When the connection opens, the session appears in the Terminal sessions menu. If you click Deny, Clove says it will not connect and no session opens.
Trust a new server
The first time you connect to a server, the app does not know its key. The connect fails with "not in known_hosts" and shows the key fingerprint. Clove then asks to trust the host. Click Run to record the fingerprint, and Clove connects again.
Trust applies to one host key, and each trust action needs your approval. Check the fingerprint with your administrator when the server is important.
Run commands
After you connect, Clove can run commands on the server. Each command needs your approval. Clove can also list known hosts and open sessions, and disconnect a session.
Transfer files
Clove can upload a file to a server, or download a file from a server into a local folder, over SFTP. The transfer uses your stored login and opens its own connection. The limit is 100 MB per file.
Your Passwords Stay Private
Third Loop keeps SSH secrets away from Clove:
- The password goes to the server only. Clove never receives it.
- Passwords are stored in your operating system keychain. If no keychain is available, they are held in memory only and are lost when the app closes.
- Lists of stored logins never include the secret.
Two-Factor Login
If the server asks for a second factor, such as Duo:
- The app sends your stored password automatically.
- The login panel shows the server's question, for example "Passcode or option (1-3):".
- Type your answer and click Send. Option 1 is a push to your phone.
- While you approve on your phone, the panel shows Waiting for approval... with a timer.
Click Cancel login to end a login that is waiting for you. If you deny the push, the app reports that the server refused the second factor. It does not blame your password.
Prompts During a Command
Some commands stop and ask for input, such as sudo asking for a password, or a second-factor check before a sensitive action. An inline panel appears on the card:
The command is waiting for you. Your answer goes to the server only. The assistant does not see it.
Type your answer in the password field and click Send. Click Stop command to end the command instead. When you stop a command, Clove is told to wait for you. It does not run the command again until you say so, and it never asks you for the answer in the chat.
If the Server Refuses Your Password
The app tries a stored password once. If the server refuses it, the password is marked as refused and is not tried again. This protects your account from lockout.
The password field comes back on the card with the message: "The server refused the saved password for ... Enter the correct one to try again." The new password replaces the old one and the mark clears.
Manage Stored Logins
Open Settings and select the SSH Credentials tab. The tab shows where passwords are stored and lists each saved login as user@host:port.
To add a login, fill in Host, Account, Port, and Password, then:
- Click Test login to check it before you save. A correct login shows "Login works."
- Click Save login to keep it. You can save a login that fails. The app marks it as refused the first time it is used.
Each saved login has these buttons:
| Button | What it does |
|---|---|
| Test | Checks the login. A login the server already refused is not sent again. |
| Update password | Opens a New password field with Save and Cancel. |
| Enter new password | Replaces Update password after a refusal. The row also shows "(server refused this password)". |
| Remove | Deletes the stored login. |
When the Problem Is Not the Server
If the SSH library fails on your computer before it contacts the server, the app reports a client fault. Clove is told not to retry. Send the app log to support. The message never includes your password.
If the server is simply unreachable, the app says "Could not reach ..." and suggests checking your VPN. Clove may try once more.