Fails over ssh
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 12.4k
- Forks
- 299
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
Your Environment
mas version: 1.8.6- macOS version (
system_profiler SPSoftwareDataType -detailLevel mini): 14.2.1 (23C71)
mas Install Method
brew install mas (homebrew-core)
Describe the Bug
I'm using mas on all of the machines in my household. I manage my family member's machines by ssh-ing into them and running mas list and mas upgrade to install updates. Everything works fine when I run mas commands locally. However, when run the same commands via an ssh session I get completely different output.
mas list run locally outputs:
1510445899 Meeter (1.9.9)
896411742 Animal Typing - Lite (3.22)
1446785996 Scratch 3 (3.29.1)
823766827 OneDrive (23.221.1024)
1452453066 Hidden Bar (1.8)
1543920362 Displaperture (2.3)
462058435 Microsoft Excel (16.80)
462054704 Microsoft Word (16.80)
565963412 iSnow (3.0.7)
682658836 GarageBand (10.4.10)
937984704 Amphetamine (5.3.2)
462062816 Microsoft PowerPoint (16.80)
1333542190 1Password 7 (7.9.11)
mas list run via ssh on the same machine outputs:
No installed apps found
Obviously, I cannot install MAS updates via ssh...
To Reproduce
- Run
mas listlocally - Run
mas listvia an ssh session - Command outputs are not the same. Output in the ssh session will list no apps installed. App update is not possible.
Expected Behavior
mas list and mas upgrade work the same way regardless of whether run locally or via ssh.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce mas list and mas upgrade locally and through SSH on macOS 14.2.1 using mas 1.8.6. Compare the environments and behavior that cause SSH sessions to report no installed apps; done means both commands work consistently over SSH and locally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100