Mount ssh filesystems under Linux or how I mounted my webspace into my root server

Today I had to mount a ssh filesystem under Linux. The reason was, that I had the perception that I would be a very cool idea, to use my old webspace package from, that I only kept because of the 10 included domains, as a backup storage for my root server.The plan was to […]

Download password protected file over shell

Therefore we use wget: wget -O outputfile.txt –user sheldon –ask-password # f.e. REST wget –http-user USER –http-password PASSWOR # HTACCESS protection If you let -O param out the output will be stored under its original name.

Download or upload a file over SSH

#Copy something from this system to some other system: $> scp /path/to/local/file username@hostname:/path/to/remote/file   #Copy something from some system to some other system: $> scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file   #Copy something from another system to this system: $> scp username@hostname:/path/to/remote/file /path/to/local/file You can add a port with the -P param You can do it recursive with […]