Tag Info

Hot answers tagged

2

scp -P PORT "$(hostname).$1-dump-$DATE.backup.gz.aes" USER@HOST:"/backups/$(hostname)/" Scp supports copying files from one remote host to another, and the syntax to do that is to specify both the source and destination using the "hostname:filename" syntax: scp srchost:/src/file desthost:/dest/file Your source file has a colon in its name, so scp is ...


2

You have two copies of screen. One of them stores its sessions in /tmp/uscreens and the other stores its sessions in /var/run/screen, so they don't see each other's sessions. Even if you could force them to see each other's sessions there's a chance that the copies of screen are different versions and bad things would happen if the two talked to one ...


1

Public key authentication is turned on by default and has higher priority then password authentication (handled by PAM or directly). You can set up in sshd_config option UsePAM yes (by default on Red Hat), which will defer authentication to PAM -- this is configured in /etc/pam.d/sshd (can differ a bit on some systems). For OTP you can use ...


1

You'll run your things with ssh -X (assuming your laptop runs a Linux with some X11 desktop) and you would only install the packages of client applications, e.g. sudo aptitude install gedit gnome-terminal emacs24 xterm I forgot the package manager on Gentoo, so use pacman instead of aptitude this will pull the required client libraries (e.g. GTK, Xlib, ...



Only top voted, non community-wiki answers of a minimum length are eligible