lift ssh
Open an interactive SSH session or run remote commands on your server.
lift ssh
Open an interactive SSH session to the server, or run a remote command. Reads connection details from .lift.json.
Usage
lift ssh [command...]
Example
# Interactive SSH session
$ lift ssh
Connecting to root@168.119.60.42:22...
# Run a remote command
$ lift ssh docker ps
$ lift ssh ls -la /home/deploy/myapp
# Pass flags to remote command
$ lift ssh -- uname -a
Related
- lift exec - Execute a command inside a running container
- lift config - View project configuration