{"id":1787,"date":"2018-07-20T15:43:11","date_gmt":"2018-07-20T13:43:11","guid":{"rendered":"https:\/\/fodina.de\/?p=1787"},"modified":"2023-01-03T21:50:27","modified_gmt":"2023-01-03T20:50:27","slug":"strato-wordpress-per-ssh","status":"publish","type":"post","link":"https:\/\/2022.fodina.de\/en\/strato-wordpress-per-ssh\/","title":{"rendered":"Back to the roots: Strato wordpress with ssh and bash"},"content":{"rendered":"<p><a href=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/stratologo.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1792 alignleft\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/stratologo-300x200.png\" alt=\"\" width=\"80\" height=\"53\" \/><\/a>Maintaining a wordpress instance via ftp can become a hassle: each file you want to modify must be downloaded, edited locally and uploaded again.<a href=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/ssh-community-logo.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1793 alignright\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/ssh-community-logo-300x143.png\" alt=\"\" width=\"111\" height=\"53\" srcset=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/ssh-community-logo-300x143.png 300w, https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/ssh-community-logo-768x367.png 768w, https:\/\/2022.fodina.de\/wp-content\/uploads\/2018\/07\/ssh-community-logo.png 800w\" sizes=\"(max-width: 111px) 100vw, 111px\" \/><\/a> But beside this, the German hoster Strato offers an ssh-access &#8211; though you must know how it works:<!--more--><\/p>\n<p>The ssh-server of Strato is accessible under ssh.strato.de. For using it successfully, you need an account because the server must know which directory of the file system is yours. In accordance to the Strato rules this account is the main domain of your package. Following the the syntax of ssh this domain and the server address are linked by an @ for creating a correct ssh address:<\/p>\n<p><code>ssh your.domain.de@ssh.strato.de<\/code><\/p>\n<p>If you call this command in a local shell, your ssh-client calls the remote ssh-server and manages the login dialog. After having been logged in you get a real Linux environment:<\/p>\n<p>You get a <em>vi(m)<\/em> for editing your files remotely, you a get <em>tar<\/em> and a <em>gz<\/em> for managing uploaded packages, and you can even call a <em>bash<\/em> with its well known command completion. The traditional <em>which<\/em>-tool tells you which tools are installed and where.<\/p>\n<p>Hence, those who are able to maintain their local computers via a shell, will have no problems to maintain their wordpress instances remotely: and it is even not necessary to use the ftp file by file upload. You can create a tar.gz package which you upload und unpack remotely.<\/p>\n<p>All this saves time and is very comfortable &#8211; if you are (still) familiar with the work in a shell &#8211; like the IT dinos.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die Pflege einer WordPressinstanz per ftp ist schon arg begrenzt. Jede Datei, die ge\u00e4ndert werden soll, muss man downloaden, lokal \u00e4ndern und wieder hochladen. Doch der Webhoster &#8216;Strato&#8217; bietet daneben auch einen ssh-Zugang an. Man muss nur wissen, wie es geht:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[39],"tags":[40],"translation":{"provider":"WPGlobus","version":"2.12.2","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/1787"}],"collection":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/comments?post=1787"}],"version-history":[{"count":14,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/1787\/revisions"}],"predecessor-version":[{"id":4377,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/1787\/revisions\/4377"}],"wp:attachment":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/media?parent=1787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/categories?post=1787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/tags?post=1787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}