How to perform a local ssh port forwarding in Linux

SSH supports a variety of ways of moving data across psuedo-VPN tunnel. One of the methods is Port Forwarding which creates a secure connection between a local computer and a remote machine through wich data

How to fix "/usr/bin/ssh-copy-id: ERROR: No identities found"

Error: # ssh-copy-id root@192.168.1.11 /usr/bin/ssh-copy-id: ERROR: No identities found Solution: You will have to manually define the path of the public key using -i switch as shown below # ssh-copy-id -i .ssh/id_rsa.pub 192.168.1.11 root@192.168.1.11's password: