REFERENCE
Troubleshooting
When a connection, a device sign-in, Lina, your account, a discovery, an update or an export does not work: the message the app shows, what it means and what to do next. Ends with how to send a support packet without your secrets.
Verified against AI NetShell 0.4.20
This page is arranged by what you were doing when it stopped working. Find the message the app showed you; each entry says what it means and the next step. Keep the exact text of the message: most of them name the cause, and support will ask for it. Your version is under Settings > About. Nothing on this page changes a device, and nothing on a device changes until you approve it.
Connecting to a device#
While the app connects, the pane names each step, Connecting to ACC-SW1..., Handshaking..., Opening the shell..., Checking privilege level..., and after two seconds adds the time elapsed. The handshake and sign-in together have 60 seconds. When a connection fails, the pane prints Connection failed: and the reason, in the app's words; the two exceptions, a host key review that expired and an older-SSH question you canceled, print their own line without the prefix.
| The pane says | What it means | What to do |
|---|---|---|
| Connection failed: connection to 10.0.0.5:22 was refused (no SSH service there, or a firewall or access list blocked it) | Something answered at that address and turned the connection away. | Check the address and port saved on the device, that SSH is enabled on it, and any firewall or access list between this PC and the device. |
| Connection failed: Connection to 10.0.0.5:22 timed out after 60s, or Connection failed: connection error: connection to 10.0.0.5:22 timed out after 60s | Nothing answered in time. | Check that the device is up and reachable from this PC: VPN, routing, and that the port is not silently dropped. |
| Connection failed: 10.0.0.5 is not reachable from this PC (no route) | This PC has no route to that address. | Connect your VPN or fix the route, then try again. |
| Connection failed: the connection to 10.0.0.5:22 was reset | The device, or something between you and it, closed the connection while it was being set up. | Check the device's SSH and session limits, then try again. |
| Connection failed: device has no auth profile, or Connection failed: auth profile not found | The device has no credential, or the credential it names was deleted. | Right-click the device, select Edit device… and choose a credential. |
Three dialogs can stop a connection before it signs in:
- Unknown host key. The first connection to a device shows its address, key type and fingerprint and asks Trust this key and connect? Only if you recognize the device. Compare the fingerprint with the value you trust, then select Trust. Cancel connects nothing.
- Host key changed. The dialog reads This device offered a different key than the one saved., The connection was refused. and If it was replaced or rebuilt, forget the saved key and reconnect., with the saved and offered fingerprints, Close as the default and Forget saved key…. Stop here. A changed key means either the device was replaced or rebuilt, or something else is answering at its address. Confirm which with the person who manages the device before you forget anything; the pane's own line says the same: If it was not, stop and check the path. Only when you have confirmed the change, select Forget saved key…, type the value it asks for to confirm (the device name for a saved device, the address for Quick connect), and connect again to review the new key. See Check an SSH host key.
- Older SSH. A device that offers only older SSH algorithms asks This device only offers older SSH algorithms (...). Connect anyway? Connect anyway connects, and for a saved device the app remembers that choice as Allow older SSH algorithms on the device; for Quick connect it holds for that connection only. Cancel leaves the pane reading Not connected. This device only offers older SSH algorithms (...). Turning Allow older SSH algorithms on does not fix a wrong address, a blocked port or a refused password; it only widens the algorithms the app will accept.
When the device closes a connection that was working, the pane prints [session ended] and the header offers Reconnect, which starts a fresh connection in the same pane. Check the device's idle timeout and its limit on concurrent sessions if it happens often.

Signing in to a device#
- Connection failed: authentication failed. The device did not accept the login, or the login exchange did not finish; the app uses the same words for both. Saving a credential does not test it, so the first connection is the test. Open it under Credentials (Edit credential) and check the Username and the Authentication method; if the device's password changed, enter it under New password (rotates the secret). Connect once from the terminal to read the device's own words. The pane adds If this device only accepts older RSA signatures, edit the device and tick Allow older SSH algorithms. when an RSA key was refused by a device that did not say which signature algorithms it accepts. That can mean the device wants an older RSA signature, and it can mean a wrong key or account, so check the credential first; if it is right, turn on Allow older SSH algorithms for that device.
- Connection failed: connection error: SSH agent auth needs SSH_AUTH_SOCK (not the Windows named-pipe agent); use a key file or password for now. The credential's method is SSH agent, which the app's SSH client cannot use in this version. Edit the credential and choose Private key file or Password. See Add devices and credentials.
- Not in enable mode. On a Cisco IOS, IOS XE or ASA device that signs you in at a limited prompt, when the credential has no enable password, the pane prints Not in enable mode. To read the running configuration and other privileged show commands, add this device's enable credential in Credentials (Edit credential), then reconnect. The app enters enable mode by itself. (on an ASA: To read VPN, NAT and access-list state). Edit the credential, fill in Enable password (optional) and reconnect.
- Other lines the pane can print with the connect header: No enable credential is stored for this login. (as above); The device refused the stored enable credential. (the device rejected the enable password the app sent: check the enable password and that this account may enter enable mode, then update the credential); The stored enable credential could not be read, so the session stays at user level. (Windows Credential Manager did not return the value: open the credential and enter the enable password again); Enable stopped because the prompt or privilege could not be confirmed. (the device answered the enable step with something the app did not recognize; sign in to enable mode yourself for this session); and This session is busy (another change), so the host's sign-in steps were not run. Reconnect when the session is free. (the app was working on this session, see the next section).
The session is busy or paused#
One task at a time types on a session: a governed change or rollback, the enable sign-in, Lina's reads and the app's own checks. A governed change is a change Lina proposes, you review as a diff and approve, and the app can roll back. When a task cannot get the session it says so and sends nothing:
- This session is busy (another change). Try again in a moment. The words in parentheses name what holds the session: another change, a verification read, an AI read, a capture read, a configuration read, the enable sign-in, a rollback-copy cleanup, a post-change backup, a startup save, or another task in this app when the app cannot say. A change or a rollback waits up to 4 minutes for the session before it gives up; a read waits up to 1 minute. If the pane header shows Typing paused, wait for it to clear; a read holds the session without that indicator, so otherwise wait a moment and try again.
- Typing paused: a change is running. The app holds the keyboard while it applies or rolls back a change, cleans up a rollback copy, saves to startup or signs in to enable mode. What you type meanwhile is not sent. Wait for it to finish; see Known limitations.
- This session is paused; use Reconnect, then Check again. A read Lina ran did not come back to the prompt. Lina sends nothing more on that connection, but your own typing still reaches the device. Select Reconnect, then Check again on the step that was waiting. See Ask Lina about a problem.
Lina and your account#
The terminal needs no account. Lina and the paid features need your account signed in, or an activated license key from an earlier version of the app.
Signing in. When the chat reads Sign in to use Lina, select Sign in with your browser; the same button is under Settings > Account. The sign-in happens on the account site in your browser, and the app never asks for your account password. While it waits, the chat reads Finish signing in using your browser and the account pane Waiting for approval in your browser. The pane then says what went wrong, and what to do is in the sentence:
| Settings > Account says | What to do |
|---|---|
| We could not open your browser. Try again, or cancel this sign-in. | Select Start over to open a fresh sign-in, or Cancel sign-in. If no browser opens, check that Windows has a default browser. |
| This sign-in expired. Start over to try again., or This sign-in expired. Start over to sign in again. | Select Start over and finish the sign-in in the browser within its time. |
| The account service is busy right now. Your sign-in is saved. Try again in a moment. | Wait, then select Try again. |
| This account already has 3 PCs authorized. Revoke one in the account portal, then try again. | Select Account portal, revoke a PC you no longer use, then Try again. An account can have three PCs signed in. |
| Your saved sign-in could not be refreshed. Reconnect to restore it. | Select Sign in with your browser again. Your devices, credentials and history stay. |
| This device was revoked. Start over to reconnect it. | This PC was removed in the account portal. Select Start over to sign in again. |
| Reconnect when you can. Offline features keep working until November 13, 2026. (the date is an example; yours comes from your account) | The app has not reached the account service for a while. Reconnect before the date shown. What works offline is in Your account. |
Credits. A run that stops on credits shows the card Out of AI credits with Buy in your account, which opens the account site in your browser. When the app cannot read your balance, it says AI NetShell can't read your credits right now. Open Settings > Account and press Refresh, or sign in again. If it keeps happening, contact support. or Your AI NetShell account needs a refresh. Press Refresh, or sign in again. Open Settings > Account, select Refresh, and sign in again if that does not clear it. Plans and credits are in Credits, plans and billing.
Lina will not start. With no terminal open, the chat reads Open a device to start investigating and the box Open a device first: Lina reads a live session, so open one. When the model picker reads Could not check which AI models are available, its hint names the check that failed, for example AI NetShell could not read which AI providers are set up. Press Retry.; select Retry once your connection is back. This model is no longer offered. Pick another one. means your saved model left the catalog: pick another. Included AI needs a connected account. with Open Account means your sign-in needs the refresh above, not a plan change.
A run that could not finish shows a card whose title names the cause:
| Card | What to do |
|---|---|
| API key rejected | Your provider rejected the key. Select Open AI providers and save the key again. See Use your own AI model. |
| AI provider busy | The provider is rate limiting or overloaded. Wait a minute, then Retry. |
| Can't reach the AI provider | The request did not get through. Check your connection, then run Test connection under Settings > Network (below). |
| No answer this time | Lina stopped without a conclusion. The reason reads Lina stopped before reading anything. Ask again, or rephrase the question. or Lina ran the reads but stopped before an answer. Ask again, or rephrase the question. Ask again, more specifically. |
| Investigation failed | Something else stopped the run; the reason is under the title. Read it, then Retry. |
A run on a ChatGPT model that stops with Your ChatGPT sign-in expired. Sign in again to keep using ChatGPT models. offers Sign in again, which opens Settings > AI providers and starts the sign-in in your browser.
Lina reads fewer terminals than you opened. A line in the chat panel, Lina is reading 1 terminal, out of 3 open in this investigation., states the real count. When it follows Lina could not be told about the terminals you just opened., read the error beside it and try again; the count shown is what Lina has. When the reason is your account, the card offers Open account settings; when it is your plan, the card names the plan and offers See plans & pricing, Change plan or Plans and billing, whichever fits your account. A note reading Earlier updates were truncated (12 events beyond the replay buffer). means the chat missed some live updates. What it did receive is still right, and the device's own output is in your terminal; Technical notes holds what the chat received, not the missed updates. Nothing needs to be run again because of the note.
Test connection. Under Settings > Network, Test connection sends one request with no credentials to api.anthropic.com, using the proxy fields as they are on screen, saved or not. A pass reads Reached api.anthropic.com through the proxy (HTTP 200). with whatever status the host answered; any answer other than a proxy's own 407 counts as reached, so a 401 or 403 still passes. through the proxy names the mode you chose (directly for no proxy, neither word for the automatic mode), not the route the request took: a bypass rule can send it straight out. Under it, a line such as Tested api.anthropic.com with proxy mode: manual (http://proxy.example:8080). names what was tested. A failure names the cause: The proxy requires authentication, which isn't supported yet., The proxy URL isn't valid., Proxy credentials in the URL aren't supported yet., or the connection error itself. The test proves the path to that one host, whichever AI route you use; it does not check your key, your account or your credits, and it saves nothing. Select Save to keep a working setting. SSH and serial connections to devices never use the proxy. See Install AI NetShell for the addresses to allow.
Changes are paused or refused#
- Your plan doesn't include configuration changes. Applying a change needs the Resolve plan. Everything else stays: the investigation, the diagnosis and the exact commands. Open account settings… opens Settings > Account.
- Configuration changes are turned off, with AI NetShell is set to read-only, so it will not send changes to ACC-SW1. The switch Allow configuration changes under Settings > General is off; it is off by default. Turn on configuration changes… takes you to it. See Fix a problem.
- Governed changes are unavailable: the app could not open its audit log when it started, and switching changes on is only allowed when it can be recorded there. Restart the app to retry; if this keeps happening, contact support. Shown under the switch in Settings > General, with a Details: line. Switching changes on is recorded in the audit log (
audit.jsonl, see Where the app keeps its files), so when that file could not be opened the switch stays off. Restart the app. If the sentence comes back, send a support packet with the Details: line. - A banner above a proposed fix beginning Changes are paused on this PC because (the rest of the sentence says what failed in the app's check of its change history: missing, damaged, from a different install or version, or unreadable right now), Changes are paused for ACC-SW1 because its change history on this PC failed a check, or Changes are paused for ACC-SW1 because another copy of the app is using its change history. The banner adds You can still investigate, read configurations and run read-only commands., a What happened? fold with the detail, Changes stay paused until this is fixed. See the support page for the steps. and Try again. The steps are these:
- Select Try again. If it reports The app could not check its change history right now. Try again., wait a moment and select it again. If the banner stays, follow the step below that matches its sentence.
- When the sentence says another copy of the app is using the change history, close every other AI NetShell window on this PC, then start the app again.
- When the sentence says the app could not read its change history right now, check that this install's data folder and Windows Credential Manager are reachable, then start the app again. If a change was running when this appeared, check the device before you apply anything.
- When the sentence says the change history was written by a different version of the app, install that version again, or put back a backup of the data folder from before the upgrade, then start the app again.
- Otherwise the record of governed changes on this PC does not match what the app expects, and the app pauses changes rather than write to a record it cannot trust. The app has no reset in this version. When the sentence says on this PC, put back a backup of this install's data folder that still has its attempt-journal folder, then start the app again. If you have no backup, or the sentence names one device, send a support packet with the text under What happened?.
Discovery#
- No progress for 2m. A slow device or a configuration backup read can take several minutes, so this may still be working; if nothing changes for much longer, stop the discovery and check the connection report. Wait first. To stop, open the Actions menu in the run header, select Stop discovery and confirm Stop discovery; what was collected stays on screen. The Couldn't access list then says why each device was not read, in words such as Credentials rejected, Host key changed, Host key not approved, Command not allowed, Did not answer, SSH refused, Connection failed and Enable password refused; each matches a case above.
- Another discovery is running. Open it to watch progress, or wait for it to finish before starting a new one. Select Show the running discovery.
- The discovery finished, but its results could not be saved. Run the discovery again. If it happens again, contact support. The app recovers nothing on its own. Run the discovery again; if the notice comes back, send a support packet.
- Active Discovery needs an Investigate plan or higher. Discovery needs the Investigate plan or higher, and opening a saved run needs a paid plan as well.
Scope, credentials and the saved runs are covered in Discover your network and draw the maps.
Updates and starting the app#
- Restart now is grayed out and the card says An investigation is running. You can restart when it finishes., A change is being applied. You can restart when it finishes. or A change is being verified. You can restart when it finishes. Let the work finish and the button frees itself. A change that is waiting for your approval, or one that ended and still needs your acknowledgment, does not hold the update.
- Settings > Updates reads The last update check did not finish. It will try again on its own. Nothing to do; the app checks again on its own. On a locked-down network, allow
downloads.ainetshell.com(Install AI NetShell). - The update could not be prepared automatically. You can install it by hand instead., with the installer's address and Open the download page. Download the installer from that page, check that it is signed by PACKET 365 LLC, and run it over the installed version. If the pane adds Could not open the download page., copy the address into your browser yourself.
- A box titled AI NetShell needs an update at start, reading Your AI NetShell data was upgraded by a newer version (0.4.21). This version can't open it safely. Install the latest AI NetShell from ainetshell.com, then start it again. Your data has not been changed. An older installer was run over a newer version's data. Install the latest version from ainetshell.com; nothing was changed. The variant AI NetShell can't read its data-format file (...). To keep your data safe, it won't start. Install the latest AI NetShell from ainetshell.com. names the file the check could not read; if the latest version shows it too, send a support packet with the text.
- The app stops at start with a message ending AI NetShell cannot start because its built-in safety rules could not be verified. Restart the app; if this continues, reinstall it or contact support. (or its built-in playbooks). The app refuses to run without its permit lists. Restart it; if the message returns, reinstall from ainetshell.com, then contact support.
Exports and documents#
When an As-Built Documentation export is refused, the notice says why; the sentences are in As-built documentation. A map too large to save as one image says so and saves no image; the document is still written without that figure, and Word export is off in this version (Known limitations). Every export from Backups is masked, so an exported configuration is not restorable on its own (Backups and drift). When a case note was saved but the app cannot show you the folder, it says Could not open the folder. The note is at: followed by the path.
Where the app keeps its files#
The app's data lives in one folder for your Windows user account. On a standard installation it is:
%APPDATA%\com.ainetshell.app\shellshockPaste %APPDATA% into File Explorer's address bar, open com.ainetshell.app, then shellshock. (The folder keeps an older internal name so that existing installs keep their data.) New case notes normally go elsewhere: to the folder you set under Notes save location in Settings > General, else to Documents\AI NetShell\case-notes, and into the data folder's case-notes only when neither can be used, in which case the saved message says so. Notes already saved stay where they were written.
| File or folder | What it holds |
|---|---|
inventory.json, profiles.json, profile_folders.json, cloud_accounts.json | Your saved devices and folders, your credentials' names, usernames, methods and key file paths, and your Meraki accounts. Passwords, passphrases, enable passwords and API keys are not here: they are in Windows Credential Manager. |
known_hosts.json, rdp_known_hosts.json | The SSH host keys and remote desktop certificate fingerprints you trusted. |
settings.json | The app's settings. |
audit.jsonl | The audit log. Turning configuration changes on is recorded here, and the app will not turn them on when it could not open this file. The app checks the log's integrity, so copy lines from it rather than editing it. |
change_history.json, governed_changes.json | The record of governed changes behind the Changes view and each device's change timeline. |
time_machine\ | The configuration backups, one history per device. How they are stored is in Backups and drift. |
topology_runs\, topology_layout.json | The saved discovery runs and the map layout you arranged. |
investigation_timelines\ | One timeline file per investigation run. |
crawl_connections.log, scope_grants.log | Discovery's record of each connection it made and of each scope you authorized. |
cisco-eox-cache-v1.json | Cached Cisco support dates. |
eula_receipt.json, data-format.json | Your acceptance of the agreement, and the data format marker the start-up check reads. |
Everything here can name your devices, their addresses, your usernames and what the devices returned. Do not send the whole folder to anyone, and do not delete files from it to fix a problem; send a support packet instead.
Send a support packet#
Support is a real person at PACKET 365 LLC. Select Support under Settings > About to open ainetshell.com/support in your browser; the address there is [email protected]. A security problem goes to [email protected] instead.
Include:
- Your version: Settings > About shows it beside Version, and Settings > Updates as Installed version. Add your Windows version.
- What you were doing, step by step, and the time it happened with your time zone.
- The exact message, copied, not retyped. For a device problem, the device type and software version, and the pane's Connection failed: line. For an AI or account problem, whether Test connection under Settings > Network passed.
- Evidence the app has already masked for you, when it helps:
- In a terminal, select the text, right-click and choose Copy as masked; or select More and Save pane output… to save the output the app has kept for the session, with a first line that says whether older output was already dropped. Both replace the secrets the app recognizes, such as passwords, keys and community strings, with
{{NS:...}}placeholders before anything leaves the app. - In Lina's chat, select the ⋯ button and Technical notes for a masked Markdown file of the case, or Copy for a ticket for masked plain text; the chat confirms Copied the case as plain text.
- From Backups, Export without passwords...; from a Meraki site report, Export and Copy for a ticket, confirmed by Copied the report for a ticket.
- In a terminal, select the text, right-click and choose Copy as masked; or select More and Save pane output… to save the output the app has kept for the session, with a first line that says whether older output was already dropped. Both replace the secrets the app recognizes, such as passwords, keys and community strings, with
- A screenshot, after you have looked at it: terminals and dialogs show addresses, usernames and paths.
Never send passwords, API keys, private keys, full device configurations or the data folder. Masking replaces the secrets the app recognizes; device names, addresses, usernames and banners stay, so read every copy before you send it and replace what your organization does not share. If a problem needs more, support asks for the specific file or line. Do not edit the audit log or the change history to make a copy; copy the lines you need.
Next#
- Terminal basics: connecting, host keys, Quick connect and remote desktop.
- Add devices and credentials: credentials, enable passwords and rotating a password.
- Ask Lina about a problem: what Lina reads and the cards she shows.
- Known limitations: what the app does not do yet, with what to do instead.
- Security and privacy: what leaves your PC and what stays.
Checked on AI NetShell 0.4.20