Zum Inhalt springen

SSH Shell Konsole

Aus Computech CMS Wiki
Version vom 3. Juni 2014, 13:13 Uhr von Simon Zeberli (Diskussion | Beiträge) (→SSH Home Dictionary ändern)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

SSH Home Dictionary ändern

Change your homedirectory on the server to /var/www/ (this is not really a good idea) add

cd /var/www/

to the end of your

sudo nano .bashrc

I use this one on our puppetmasters as I always want to be in /etc/puppet/environment a/dkaarsemaker there instead of my homedir :-)