Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [BUG] mas doesn't work via ssh #507

Open
1 task done
GentleHoneyLover opened this issue Jan 12, 2024 · 1 comment
Open
1 task done

馃悰 [BUG] mas doesn't work via ssh #507

GentleHoneyLover opened this issue Jan 12, 2024 · 1 comment

Comments

@GentleHoneyLover
Copy link

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): macOS 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

Steps to reproduce the behavior:

  1. Run mas list locally
  2. Run mas list via an ssh session
  3. 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

@exomor
Copy link

exomor commented Jan 29, 2024

Hi,

I have the same problem. Does anybody have a solution?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants