Enabling SSH Root Login
As root, edit the SSH configuration on target computer: find the line: add this line bellow: Restart SSH:
very very slowly
As root, edit the SSH configuration on target computer: find the line: add this line bellow: Restart SSH:
or enable Root Login via SSH: find: change to: restart the SSH server:
Copies files from a source to destination. Syncs directories without copying already existing files and updating modified files. Works over SSH. remote -> local: local -> local: local -> remote: Options/flags: -a equals to use of following options -rlptgoD (basically -a options makes rsync a fully fledged backup tool) –delete deletes files from the destination … Read moreRsync
First start screen as it starts a new shell: You can now disconnect from that ssh session, as the processes in that screen shell continues to work. Reconnect to screen shell by establishing new ssh connection and typing: this reestablishes screen shell and you can continue your work where you stopped when disconnected.
SCP uses SSH credentials to copy files and directories between 2 computers. It can be used to copy: From your local computer to a remote computer From a remote computer to your local computer Between two remote computers from your local computer The colon : sign is used to distinguish remote computer. SCP overwrites files … Read moreSCP (Secure CoPy)
Check if there is already a public authentication key on local computer, this first step is important because if you override existing public authentication key, you will not be able to password-less login to previously set remote computers: If you already have public authentication key you can use it for password-less login but if there’s … Read morePassword-less SSH Login