<p>You probably need to <code>chmod +x craft</code> on the <code>craft</code> executable so it an execute: <a href="https://askubuntu.com/questions/443789/what-does-chmod-x-filename-do-and-how-do-i-use-it/443799">https://askubuntu.com/questions/443789/what-does-chmod-x-filename-do-and-how-do-i-use-it/443799</a></p>

CC BY-SA 4.0
2019-02-23T03:24:51.177Z
2019-02-23T03:24:51.177Z
Brad Bell
<p>I'll freely admit to being a bit of a newb when it comes to SSH but wanting to start utilizing it more for my Craft3 sites. Maybe this is an irrelevant question but is it possible to update craft on the live server through ssh?</p>

<p>I'm ssh'd into my server and tried <code>./craft update all</code> but I keep getting <code>Permission denied</code>.</p>

<p><code>composer update</code> works fine though. Am I making a mistake or is it more of a hosting configuration issue?</p>

<craft3><updates><cli>
Updates on live server without using Control Panel
# Updates on live server without using Control Panel

(Asked by: username_0 on 2019-02-19)

I'll freely admit to being a bit of a newb when it comes to SSH but wanting to start utilizing it more for my Craft3 sites. Maybe this is an irrelevant question but is it possible to update craft on the live server through ssh?

I'm ssh'd into my server and tried `./craft update all` but I keep getting `Permission denied`.

`composer update` works fine though. Am I making a mistake or is it more of a hosting configuration issue?

**Tags:** craft3, updates, cli

---

## 1 answers

### Answer by username_1 on 2019-02-23. Score: 0 | Accepted answer

You probably need to `chmod +x craft` on the `craft` executable so it an execute: <https://askubuntu.com/questions/443789/what-does-chmod-x-filename-do-and-how-do-i-use-it/443799>


---

