How do I install and sign in to Line CLI on a server over SSH?
Install Line normally, then use device sign-in, which doesn't need a browser on the server.
Steps#
- Install:
curl -fsSL https://install.clatterlabs.xyz/line | sh - Reload your shell:
exec $SHELL -l - Sign in:
line login --device - Line prints a link and a code. Open the link on your laptop or phone, sign in with your Clatter Labs account and confirm the code matches.
- Line prints "Signed in to Line CLI as …".
Tips#
- Run long sessions inside
tmuxorscreenso they survive a dropped SSH connection. Line also saves your session after every step;line -ccontinues it. - Inside the app,
/login devicedoes the same thing.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.