Skip navigation

Harald Markus Wirth


Page Content:

Tiny SSH Howto

$ ssh-keygen
$ ssh-copyid -i ~/.ssh/id_rsa -p <port> <user>@<server>
$ ssh -p <port> <user>@<server>
$ sshfs -p <port> <user>@<server>:<path> <mount point>
$ fusermount -u <mount point>
$ scp -r -P <port> <path to file> <user>@<server>:<target path>

Copies files source/{*,.*} to target/

$ rsync -axHAWX --info=progress2 --delete --rsh='ssh -p <port>' <user>@<server>:<source-dir>/ <target-dir>/
$ pgrep -lf sshfs
$ kill -9 <pid_of_sshfs_process>
$ sudo umount -f <mounted_dir>

Starting a Program on the Desktop Through SSH

hmw@nuperum:~ $ ssh labor
hmw@labor's password:
hmw@labor:~ $ DISPLAY=:0.0 gedit &
[1] 22048
hmw@labor:~ $


Content Management:

μCMS α1.6