This command will send the contents of the local machine's public SSH key (located at ~/.ssh/id_rsa.pub) to a remote server with the IP address of 192.168.1.77, using the SSH protocol on port 22. The remote server will then create a directory called '/tmp/ssh' with restricted permissions (umask 077), and append the contents of the public key to a file called 'authorized_keys' within that directory. This will allow the user associated with the private SSH key to authenticate with the remote server without needing to enter a password.


原文地址: https://www.cveoy.top/t/topic/ngI1 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录