Use an absolute path in the ssh token command
An unquoted ~ in `ssh host ~/path` expands on the local machine, so the documented command looked for /home/paul/semprini-maintainer on the host. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
556ffb6561
commit
b94a19147f
1 file changed
+2
-1
@@ -113,7 +113,8 @@ Claude credential. Run `claude setup-token` wherever you are signed in to Claude
|
||||
host:
|
||||
|
||||
```bash
|
||||
ssh -t ubuntu@3.107.254.151 ~/semprini-maintainer/maintainer.py --set-claude-token
|
||||
# Absolute path: an unquoted ~ expands on your machine, not the host
|
||||
ssh -t ubuntu@3.107.254.151 /home/ubuntu/semprini-maintainer/maintainer.py --set-claude-token
|
||||
```
|
||||
|
||||
It checks the token with a one-line request and saves it to `config.json`. The service
|
||||
|
||||
Reference in new issue
Block a user